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

This commit is contained in:
Timothy Warren 2021-03-30 20:59:21 -04:00
parent 060e3e841e
commit 27ce51b33f

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"