Add initial Jenkinsfile

This commit is contained in:
paola.rozo 2020-08-24 20:55:02 -05:00
parent 128e9ba59f
commit 08aaba11f2
2 changed files with 17 additions and 0 deletions

1
.gitignore vendored
View file

@ -98,3 +98,4 @@ ENV/
# mypy
.mypy_cache/
.idea/

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