again
This commit is contained in:
parent
3e3c3b60a8
commit
83dc721429
1 changed files with 6 additions and 24 deletions
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
|
@ -1,8 +1,5 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent none
|
agent none
|
||||||
options {
|
|
||||||
skipStagesAfterUnstable()
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
agent {
|
agent {
|
||||||
|
@ -14,7 +11,7 @@ pipeline {
|
||||||
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'qnib/pytest'
|
image 'qnib/pytest'
|
||||||
|
@ -29,20 +26,5 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deliver') {
|
|
||||||
agent {
|
|
||||||
docker {
|
|
||||||
image 'cdrx/pyinstaller-linux:python2'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh 'pyinstaller --onefile sources/add2vals.py'
|
|
||||||
}
|
|
||||||
post {
|
|
||||||
success {
|
|
||||||
archiveArtifacts 'dist/add2vals'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue