initial jenkins file

This commit is contained in:
Naim Salameh 2020-04-16 23:19:46 +03:00
parent 128e9ba59f
commit 0cfa2f5e5e

16
Jenkinsfile vendored Normal file
View file

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