ci: build .deb package for both bullseye and bookworm (#79361)
gitea/lasso/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-07-04 16:51:46 +02:00
parent 9b6d07dd5d
commit f4d7946e29
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -29,9 +29,9 @@ pipeline {
'''
).trim()
if (env.GIT_BRANCH == 'main' || env.GIT_BRANCH == 'origin/main') {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye ${SHORT_JOB_NAME}"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye,bookworm ${SHORT_JOB_NAME}"
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye --branch ${env.GIT_BRANCH} --hotfix ${SHORT_JOB_NAME}"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye,bookworm --branch ${env.GIT_BRANCH} --hotfix ${SHORT_JOB_NAME}"
}
}
}