simple-python-pyinstaller-app/Jenkinsfile
2021-09-30 15:41:19 -04:00

16 lines
395 B
Groovy

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