don't compare combo-wip job name (it's combo-wip/whatever)
This commit is contained in:
parent
c3b768c021
commit
aafea3f370
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue