Deliver Stage

This commit is contained in:
Zaman 2020-03-02 18:49:40 +05:00
parent 97323c5b23
commit 3e3c3b60a8

18
Jenkinsfile vendored
View file

@ -1,5 +1,8 @@
pipeline {
agent none
options {
skipStagesAfterUnstable()
}
stages {
stage('Build') {
agent {
@ -26,5 +29,20 @@ pipeline {
}
}
}
stage('Deliver') {
agent {
docker {
image 'cdrx/pyinstaller-linux:python2'
}
}
steps {
sh 'pyinstaller --onefile sources/add2vals.py'
}
post {
success {
archiveArtifacts 'dist/add2vals'
}
}
}
}
}