Jenkinsfile: use default distribution target (#41301)

This commit is contained in:
Christophe Siraut 2020-04-24 15:46:05 +02:00
parent c0d99a7e99
commit e00aabb831
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 == 'eobuilder' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch eobuilder'
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder eobuilder'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix eobuilder"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix eobuilder"
}
}
}