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