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