jenkins: build packages for buster & bullseye
This commit is contained in:
parent
3866d45bad
commit
c0fe0dfba9
|
@ -7,9 +7,9 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if (env.JOB_NAME == 'passerelle-grandlyon-iodas' && env.GIT_BRANCH == 'origin/main') {
|
if (env.JOB_NAME == 'passerelle-grandlyon-iodas' && env.GIT_BRANCH == 'origin/main') {
|
||||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder passerelle-grandlyon-iodas'
|
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye passerelle-grandlyon-iodas'
|
||||||
} 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 passerelle-grandlyon-iodas"
|
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d buster,bullseye --branch ${env.GIT_BRANCH} --hotfix passerelle-grandlyon-iodas"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue