Skip to content

Commit c45d6db

Browse files
committed
add deliver
1 parent 5559ce7 commit c45d6db

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Jenkinsfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,24 @@ pipeline {
2727
}
2828
}
2929
}
30+
stage('Deliver') {
31+
agent any
32+
environment {
33+
VOLUME = '$(pwd)/sources:/src'
34+
IMAGE = 'cdrx/pyinstaller-linux:python2'
35+
}
36+
steps {
37+
dir(path: env.BUILD_ID) {
38+
unstash(name: 'compiled-results')
39+
sh "docker run --rm -v ${VOLUME} ${IMAGE} 'pyinstaller -F add2vals.py'"
40+
}
41+
}
42+
post {
43+
success {
44+
archiveArtifacts "${env.BUILD_ID}/sources/dist/add2vals"
45+
sh "docker run --rm -v ${VOLUME} ${IMAGE} 'rm -rf build dist'"
46+
}
47+
}
48+
}
3049
}
3150
}

0 commit comments

Comments
 (0)