build step

This commit is contained in:
Darshika Fernando 2020-01-17 14:44:03 +11:00
parent 128e9ba59f
commit 21170b8eb1

15
Jenkinsfile vendored Normal file
View file

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