1
0
Fork 0

Make it so Jenkins can actually build
timw4mail/gilo/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2021-03-30 20:59:21 -04:00
parent 060e3e841e
commit 27ce51b33f
1 changed files with 1 additions and 7 deletions

8
Jenkinsfile vendored
View File

@ -8,15 +8,9 @@ pipeline {
environment {
GO114MODULE = 'on'
CGO_ENABLED = 0
GOPATH = "${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"
GOPATH = "${JENKINS_HOME}/workspace/jobs/${JOB_NAME}/builds/${BUILD_ID}"
}
stages {
stage('Setup') {
steps {
sh "mkdir -p .cache/go-build"
sh "chmod 777 .cache/go-build"
}
}
stage('Build') {
steps {
sh "go build"