Add Jenkinsfile
This commit is contained in:
förälder
128e9ba59f
incheckning
a0a041057f
1 ändrade filer med 16 tillägg och 0 borttagningar
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Laddar…
Referens i nytt ärende