remove parallelism for packaging

This commit is contained in:
Emmanuel Cazenave 2018-04-26 15:17:07 +02:00
parent ff6e551258
commit 43d6ee90ac
1 changed files with 5 additions and 19 deletions

24
Jenkinsfile vendored
View File

@ -5,28 +5,14 @@ pipeline {
stages {
stage('unit test') {
steps {
sh 'echo $BUILD_TAG'
sh 'tox -r -- --reuse-db --junitxml=test_results.xml --cov-report xml --cov-report html --cov=bidon/ tests/'
sh 'tox -r -- --junitxml=test_results.xml --cov-report xml --cov-report html --cov=bidon/ tests/'
}
}
stage('packaging') {
parallel {
stage('packaging jessie') {
steps {
script {
if (env.BRANCH_NAME == 'master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d jessie bidon'
}
}
}
}
stage('packaging stretch') {
steps{
script {
if (env.BRANCH_NAME == 'master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch bidon'
}
}
steps {
script {
if (env.BRANCH_NAME == 'master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d jessie bidon'
}
}
}