Jenkinsfile: use default distribution target for hotfix branch (#41301)

This commit is contained in:
Christophe Siraut 2020-04-24 15:45:24 +02:00
parent 33129fa797
commit 8635c6b7fd
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -7,9 +7,9 @@ pipeline {
steps {
script {
if (env.JOB_NAME == 'cut-publik-theme' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch cut-publik-theme'
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder cut-publik-theme'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix cut-publik-theme"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix cut-publik-theme"
}
}
}