don't compare combo-wip job name (it's combo-wip/whatever)

This commit is contained in:
Frédéric Péters 2019-07-02 12:16:12 +02:00
parent c3b768c021
commit aafea3f370
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -27,8 +27,7 @@ pipeline {
echo "current branch: ${env.GIT_BRANCH}"
if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch combo'
}
if (env.JOB_NAME == 'combo-wip' && env.GIT_BRANCH.startsWith('hotfix/')) {
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --hotfix combo'
}
}