added deliver

This commit is contained in:
Zaman 2020-03-02 18:57:31 +05:00
parent 83dc721429
commit 784ef9dffd

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'
}
}
}
}
}