20 lines
401 B
Groovy
20 lines
401 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'golang:latest'
|
|
label 'docker-build'
|
|
}
|
|
}
|
|
stages {
|
|
stage('build') {
|
|
steps {
|
|
sh 'go build'
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'pnut-bridge', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|