added the delivery step
ci-tests/simple-python-pyinstaller-tapp/pipeline/head There was a failure building this commit

This commit is contained in:
2022-01-19 09:30:24 +02:00
parent 93c31675b8
commit 1fc300f844
Vendored
+19
View File
@@ -27,5 +27,24 @@ pipeline {
}
}
}
stage('Deliver') {
agent any
environment {
VOLUME = '$(pwd)/sources:/src'
IMAGE = 'cdrx/pyinstaller-linux:python2'
}
steps {
dir(path: env.BUILD_ID) {
unstash(name: 'compiled-results')
sh "docker run --rm -v ${VOLUME} ${IMAGE} 'pyinstaller -F add2vals.py'"
}
}
post {
success {
archiveArtifacts "${env.BUILD_ID}/sources/dist/add2vals"
sh "docker run --rm -v ${VOLUME} ${IMAGE} 'rm -rf build dist'"
}
}
}
}
}