Jenkinsfile: target default suite

This commit is contained in:
Christophe Siraut 2020-05-15 11:26:29 +02:00
parent 935dbcd290
commit fbc224a625
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

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