Skip to content

Commit

Permalink
Jenkinsfile: bump go version v1.20.3 -> v1.22.4
Browse files Browse the repository at this point in the history
This should fix an issue where Jenkins
complains about a missing package 'slices'.

https://ci.etccore.in/blue/organizations/jenkins/core-geth-regression/detail/core-geth-regression/327/pipeline#step-51-log-121

Date: 2024-06-08 08:25:37-06:00
Signed-off-by: meows <[email protected]>
  • Loading branch information
meowsbits committed Jun 8, 2024
1 parent 9c46af8 commit 3b09bb6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pipeline {
stage('Mordor') {
agent { label "aws-slave-m5-xlarge" }
steps {
sh "curl -L -O https://go.dev/dl/go1.20.3.linux-amd64.tar.gz"
sh "sudo rm -rf /usr/bin/go && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.3.linux-amd64.tar.gz"
sh "curl -L -O https://go.dev/dl/go1.22.4.linux-amd64.tar.gz"
sh "sudo rm -rf /usr/bin/go && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz"
sh "sudo cp /usr/local/go/bin/go /usr/bin/go"
sh "sudo cp /usr/local/go/bin/gofmt /usr/bin/gofmt"
sh "go version"
Expand All @@ -41,8 +41,8 @@ pipeline {
stage('Goerli') {
agent { label "aws-slave-m5-xlarge" }
steps {
sh "curl -L -O https://go.dev/dl/go1.20.3.linux-amd64.tar.gz"
sh "sudo rm -rf /usr/bin/go && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.3.linux-amd64.tar.gz"
sh "curl -L -O https://go.dev/dl/go1.22.4.linux-amd64.tar.gz"
sh "sudo rm -rf /usr/bin/go && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz"
sh "sudo cp /usr/local/go/bin/go /usr/bin/go"
sh "sudo cp /usr/local/go/bin/gofmt /usr/bin/gofmt"
sh "go version"
Expand Down

0 comments on commit 3b09bb6

Please sign in to comment.