Skip to content

Commit

Permalink
Jenkinsfile: make geth executable by everyone
Browse files Browse the repository at this point in the history
Date: 2024-06-08 11:16:31-06:00
Signed-off-by: meows <b5c6@protonmail.com>
  • Loading branch information
meowsbits committed Jun 8, 2024
1 parent 60161eb commit 30ed00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +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 "export GOROOT=/usr/local/go"
sh "/usr/local/go/bin/go version"
sh "mkdir -p ./build/bin && /usr/local/go/bin/go build -o ./build/bin/geth && ./build/bin/geth version"
sh "mkdir -p ./build/bin && /usr/local/go/bin/go build -o ./build/bin/geth && sudo chmod +x ./build/bin/geth && ./build/bin/geth version"
sh "rm -rf ${GETH_DATADIR}-mordor"
sh "shasum -a 256 -c ./tests/regression/shasums/mordor.0-1686858.rlp.gz.sha256"
sh "./build/bin/geth --mordor --fakepow --cache=2048 --nocompaction --nousb --txlookuplimit=1 --datadir=${GETH_DATADIR}-mordor import ${GETH_EXPORTS}/mordor.0-1686858.rlp.gz"
Expand All @@ -44,7 +44,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 "export GOROOT=/usr/local/go"
sh "/usr/local/go/bin/go version"
sh "mkdir -p ./build/bin && /usr/local/go/bin/go build -o ./build/bin/geth && ./build/bin/geth version"
sh "mkdir -p ./build/bin && /usr/local/go/bin/go build -o ./build/bin/geth && sudo chmod +x ./build/bin/geth && ./build/bin/geth version"
sh "rm -rf ${GETH_DATADIR}-goerli"
sh "shasum -a 256 -c ./tests/regression/shasums/goerli.0-2000000.rlp.gz.sha256"
sh "./build/bin/geth --goerli --cache=2048 --nocompaction --nousb --txlookuplimit=1 --datadir=${GETH_DATADIR}-goerli import ${GETH_EXPORTS}/goerli.0-2000000.rlp.gz"
Expand Down

0 comments on commit 30ed00a

Please sign in to comment.