Make it so Jenkins can actually build
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
This commit is contained in:
parent
060e3e841e
commit
27ce51b33f
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user