pnut-bridge/Jenkinsfile
Morgan McMillian 9f0ce0b66a
All checks were successful
dreamfall/pnut-bridge/pipeline/head This commit looks good
set CACHE_HOME for go build
2022-11-27 11:30:02 -08:00

23 lines
464 B
Groovy

pipeline {
agent {
docker {
image 'golang:latest'
label 'docker-build'
}
}
environment {
XDG_CACHE_HOME = '/tmp/.cache'
}
stages {
stage('build') {
steps {
sh 'go build'
}
post {
success {
archiveArtifacts artifacts: 'pnut-bridge', fingerprint: true
}
}
}
}
}