simple-python-pyinstaller-app/Jenkinsfile
2021-03-10 15:02:52 +08:00

17 lines
452 B
Groovy

pipeline {
agent none
stages {
stage('Build') {
agent {
docker {
image 'python:2-alpine'
registryUrl 'https://hub.docker.com/'
}
}
steps {
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
stash(name: 'compiled-results', includes: 'sources/*.py*')
}
}
}
}