ci: only build package for bullseye (#72729)

This commit is contained in:
Frédéric Péters 2022-12-22 17:21:26 +01:00
parent 46994137b2
commit 039c69623a
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 == 'django-journal' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye django-journal'
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye django-journal'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye --branch ${env.GIT_BRANCH} --hotfix django-journal"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye --branch ${env.GIT_BRANCH} --hotfix django-journal"
}
}
}