nuevo Jenkins file

This commit is contained in:
Victor 2020-03-18 08:44:21 +01:00
parent 128e9ba59f
commit efae8d77d5

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