From 80bfcc7f45cdb6cbb2ee64f9a282929a0c0cea5a Mon Sep 17 00:00:00 2001 From: jaksrini Date: Sun, 26 May 2019 11:47:17 -0700 Subject: [PATCH] Add 'Deliver' stage --- Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index d748d47..b07855d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,5 +26,20 @@ pipeline { } } } + stage('Deliver') { + agent { + docker { + image 'cdrx/pyinstaller-linux:python2' + } + } + steps { + sh 'pyinstaller --onefile sources/add2vals.py' + } + post { + success { + archiveArtifacts 'dist/add2vals' + } + } + } } }