Add Jenkinsfile
This commit is contained in:
parent
128e9ba59f
commit
a0a041057f
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