add Jenkinsfile

This commit is contained in:
Samira Ouaaz 2021-11-17 22:41:20 -05:00
parent 2506683b7b
commit bea1319e7c

16
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,16 @@
pipeline {
agent none //1
stages {
stage('Build') { //2
agent {
docker {
image 'python:2-alpine' //3
}
}
steps {
sh 'python -m py_compile sources/add2vals.py sources/calc.py' //4
}
}
}
}