jenkins: build packages for buster & bullseye
This commit is contained in:
parent
bb46f55199
commit
4f222f3ea1
|
@ -23,9 +23,9 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if (env.JOB_NAME == 'chrono' && env.GIT_BRANCH == 'origin/main') {
|
if (env.JOB_NAME == 'chrono' && env.GIT_BRANCH == 'origin/main') {
|
||||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder chrono'
|
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye chrono'
|
||||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix chrono"
|
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye --branch ${env.GIT_BRANCH} --hotfix chrono"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue