jenkins: add support for hotfix releases (#34485)
This commit is contained in:
parent
fecb105a1b
commit
877da90fc4
|
@ -25,6 +25,8 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') {
|
if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') {
|
||||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch combo'
|
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch combo'
|
||||||
|
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||||
|
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix combo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue