add Jenkinsfile
This commit is contained in:
parent
2506683b7b
commit
bea1319e7c
1 changed files with 16 additions and 0 deletions
16
Jenkinsfile
vendored
Normal file
16
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
pipeline {
|
||||
agent none //1
|
||||
stages {
|
||||
stage('Build') { //2
|
||||
agent {
|
||||
docker {
|
||||
image 'python:2-alpine' //3
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'python -m py_compile sources/add2vals.py sources/calc.py' //4
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue