Add Jenkinsfile

This commit is contained in:
Monica Del Rio 2021-11-30 14:02:08 -04:00
parent 128e9ba59f
commit 971d6db14d

17
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,17 @@
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*')
}
}
}
}