add Jenkinsfile

This commit is contained in:
mynet1314 2018-12-14 21:02:02 +08:00
parent 128e9ba59f
commit 7b17638818

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'
}
}
}
}