trying workspace as modcache

This commit is contained in:
Michael Shaw
2022-10-06 10:01:33 -04:00
parent da00da4ea2
commit de5968f244
Vendored
+1
View File
@@ -23,6 +23,7 @@ pipeline {
GO111MODULE = 'on'
CGO_ENABLED = 0
GOPATH = "${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"
GOMODCACHE = "${WORKSPACE}/pkg/mod"
}
steps {
echo 'Testing ...'