Skip to content

Commit

Permalink
Revert "fix: use the right Go version in the CI"
Browse files Browse the repository at this point in the history
This reverts commit 40e6fb3.
  • Loading branch information
mdelapenya committed May 13, 2021
1 parent 078b9bc commit 0871589
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ pipeline {
deleteDir()
gitCheckout(basedir: "${BASE_DIR}")
stash allowEmpty: true, name: 'source', useDefaultExcludes: false
setEnvVar("GO_VERSION", readFile("${env.WORKSPACE}/${env.BASE_DIR}/.go-version").trim())
}
}
stage('Check') {
options { skipDefaultCheckout() }
steps {
cleanup()
withGoEnv(version: "${GO_VERSION}"){
withGoEnv(){
dir("${BASE_DIR}"){
sh(label: 'check',script: 'make check')
}
Expand All @@ -52,7 +51,7 @@ pipeline {
options { skipDefaultCheckout() }
steps {
cleanup()
withGoEnv(version: "${GO_VERSION}"){
withGoEnv(){
dir("${BASE_DIR}"){
sh(label: 'local',script: 'make local')
}
Expand All @@ -63,7 +62,7 @@ pipeline {
options { skipDefaultCheckout() }
steps {
cleanup()
withGoEnv(version: "${GO_VERSION}"){
withGoEnv(){
dir("${BASE_DIR}"){
retryWithSleep(retries: 2, seconds: 5, backoff: true){ sh(label: "Install Docker", script: '.ci/scripts/install-docker-compose.sh') }
sh(label: 'test', script: 'make test')
Expand Down

0 comments on commit 0871589

Please sign in to comment.