add jenkinsfile
This commit is contained in:
parent
020b4baba8
commit
ea7bfa24d6
1 changed files with 20 additions and 0 deletions
20
Jenkinsfile
vendored
Normal file
20
Jenkinsfile
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue