Fix environments for GO fix
Some checks failed
ci-tests/golang-test/pipeline/head There was a failure building this commit
Some checks failed
ci-tests/golang-test/pipeline/head There was a failure building this commit
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -5,7 +5,7 @@ node {
|
||||
stage('Build') {
|
||||
docker.image('golang').inside('-e XDG_CACHE_HOME="/tmp" -e CGO_ENABLED=0 -e GOCACHE="/tmp/.cache"') {
|
||||
sh 'go version'
|
||||
sh "mkdir -pv $GOCACHE"
|
||||
sh 'mkdir -pv ${GOCACHE}'
|
||||
sh 'go test -v -short'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user