pipeline { agent none options { skipStagesAfterUnstable() } stages { stage('Deliver') { agent { docker { image 'cdrx/pyinstaller-linux:python2' } } steps { sh 'pyinstaller --onefile sources/add2vals.py' } post { success { archiveArtifacts 'dist/add2vals' } } } } }