remove GOCACHE = "off" for CI

This commit is contained in:
Andrea Franz 2021-10-19 12:47:45 +02:00
parent ea1ff04f7b
commit bf18188707
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 2 additions and 3 deletions

View File

@ -27,14 +27,13 @@ pipeline {
stage('Test') { stage('Test') {
agent { agent {
docker { docker {
label 'linux' label 'linux'
image 'statusteam/keycard-cli-ci:latest' image 'statusteam/keycard-cli-ci:latest'
args '--entrypoint=""' /* allows jenkins use cat */ args '--entrypoint=""' /* allows jenkins use cat */
} }
} }
environment { environment {
GOCACHE = "off"
GOPATH = "${env.WORKSPACE}" GOPATH = "${env.WORKSPACE}"
PATH = "${env.PATH}:${env.GOPATH}/bin" PATH = "${env.PATH}:${env.GOPATH}/bin"
} }
@ -71,7 +70,7 @@ pipeline {
} }
} }
post { post {
always { always {
cleanWs() /* we can't use `make clean` because xgo creates root files */ cleanWs() /* we can't use `make clean` because xgo creates root files */
} }
} }