jenkins: build packages for default eobuilder distributions
This commit is contained in:
parent
2c2c27dbd1
commit
1db1a13cc1
|
@ -7,9 +7,9 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
if (env.JOB_NAME == 'authentic2-auth-fedict' && env.GIT_BRANCH == 'origin/master') {
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch authentic2-auth-fedict'
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder authentic2-auth-fedict'
|
||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix authentic2-auth-fedict"
|
||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix authentic2-auth-fedict"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue