jenkins: build packages for buster & bullseye

This commit is contained in:
Frédéric Péters 2021-12-12 11:57:58 +01:00
parent cd2cff88c4
commit 3cff977866
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -13,9 +13,9 @@ pipeline {
steps {
script {
if (env.JOB_NAME == 'godo' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder godo.js'
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye godo.js'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix godo.js"
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye --branch ${env.GIT_BRANCH} --hotfix godo.js"
}
}
}