jenkins: build for default distributions

This commit is contained in:
Frédéric Péters 2020-06-12 13:28:38 +02:00
parent 6881bf9c3a
commit 6461ecc021
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -7,9 +7,9 @@ pipeline {
steps {
script {
if (env.JOB_NAME == 'passerelle-grandlyon-iodas' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch passerelle-grandlyon-iodas'
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder passerelle-grandlyon-iodas'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix passerelle-grandlyon-iodas"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix passerelle-grandlyon-iodas"
}
}
}