pnut-bridge/Jenkinsfile

24 lines
464 B
Text
Raw Normal View History

2022-11-27 19:20:38 +00:00
pipeline {
agent {
docker {
image 'golang:latest'
label 'docker-build'
}
}
2022-11-27 19:30:02 +00:00
environment {
XDG_CACHE_HOME = '/tmp/.cache'
}
2022-11-27 19:20:38 +00:00
stages {
stage('build') {
steps {
sh 'go build'
}
post {
success {
archiveArtifacts artifacts: 'pnut-bridge', fingerprint: true
}
}
}
}
}