Jenkinsfile: add hotfix support

This commit is contained in:
Frédéric Péters 2019-07-02 11:50:52 +02:00
parent 5b4598c901
commit cb600b7180
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -26,6 +26,9 @@ pipeline {
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/')) {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --hotfix combo'
}
}
}
}