Skip to content

Commit

Permalink
Jenkinsfile: hopefully fix jenkins Go installation
Browse files Browse the repository at this point in the history
It failed after last commit bumping
Go version.
https://ci.etccore.in/blue/organizations/jenkins/core-geth-regression/detail/core-geth-regression/328/pipeline#step-58-log-2

Date: 2024-06-08 10:35:38-06:00
Signed-off-by: meows <b5c6@protonmail.com>
  • Loading branch information
meowsbits committed Jun 8, 2024
1 parent 5ff24ac commit a713756
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pipeline {
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 "export GOROOT=/usr/local/go"
sh "go version"
sh "make geth && ./build/bin/geth version"
sh "rm -rf ${GETH_DATADIR}-mordor"
Expand All @@ -45,6 +46,7 @@ pipeline {
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 "export GOROOT=/usr/local/go"
sh "go version"
sh "make geth && ./build/bin/geth version"
sh "rm -rf ${GETH_DATADIR}-goerli"
Expand Down

0 comments on commit a713756

Please sign in to comment.