add Jenkinsfile
Questo commit è contenuto in:
parent
2506683b7b
commit
bea1319e7c
1 ha cambiato i file con 16 aggiunte e 0 eliminazioni
16
Jenkinsfile
esterno
File normale
16
Jenkinsfile
esterno
File normale
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Caricamento…
Crea riferimento in una nuova segnalazione