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