Jenkinsfile: restore --epoch 1 option to eobuilder
gitea/zoo/pipeline/head This commit looks good
Details
gitea/zoo/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9bdd837ecd
commit
dc0e5023af
|
@ -30,9 +30,9 @@ pipeline {
|
||||||
'''
|
'''
|
||||||
).trim()
|
).trim()
|
||||||
if (env.GIT_BRANCH == 'main' || env.GIT_BRANCH == 'origin/main') {
|
if (env.GIT_BRANCH == 'main' || env.GIT_BRANCH == 'origin/main') {
|
||||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye ${SHORT_JOB_NAME}"
|
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --epoch 1 -d bullseye ${SHORT_JOB_NAME}"
|
||||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye --branch ${env.GIT_BRANCH} --hotfix ${SHORT_JOB_NAME}"
|
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --epoch 1 -d bullseye --branch ${env.GIT_BRANCH} --hotfix ${SHORT_JOB_NAME}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue