Jenkinsfile: target default suite
This commit is contained in:
parent
6eaa79bd90
commit
e043a374e2
|
@ -7,9 +7,9 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
if (env.JOB_NAME == 'atreal-publik-themes' && env.GIT_BRANCH == 'origin/master') {
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch atreal-publik-themes'
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder atreal-publik-themes'
|
||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix atreal-publik-themes"
|
||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix atreal-publik-themes"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue