Jenkinsfile: use default distribution target of eobuilder

This commit is contained in:
Benjamin Dauvergne 2020-04-25 08:55:43 +02:00
parent bc6424cbbd
commit 9396ab1283
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

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