From 30ed00a21f33af161dc24d7f982eecc26d136120 Mon Sep 17 00:00:00 2001 From: meows Date: Sat, 8 Jun 2024 11:16:31 -0600 Subject: [PATCH] Jenkinsfile: make geth executable by everyone Date: 2024-06-08 11:16:31-06:00 Signed-off-by: meows --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d056a32e8..b56b11b70 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" @@ -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"