remove GOCACHE = "off" for CI
This commit is contained in:
parent
ea1ff04f7b
commit
bf18188707
|
@ -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 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue