add jenkinsfile

This commit is contained in:
Morgan McMillian 2022-11-27 11:20:38 -08:00
parent 020b4baba8
commit ea7bfa24d6
1 changed files with 20 additions and 0 deletions

20
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,20 @@
pipeline {
agent {
docker {
image 'golang:latest'
label 'docker-build'
}
}
stages {
stage('build') {
steps {
sh 'go build'
}
post {
success {
archiveArtifacts artifacts: 'pnut-bridge', fingerprint: true
}
}
}
}
}