diff --git a/Jenkinsfile b/Jenkinsfile index 863f7dc99b..be717c2ac8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" @@ -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"