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