diff --git a/Jenkinsfile b/Jenkinsfile index e84ceed..2ffb95f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' + } + } + } } }