Jenkinsfile: restore --epoch 1 option to eobuilder
gitea/zoo/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-03-02 13:49:35 +01:00
parent 9bdd837ecd
commit dc0e5023af
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -30,9 +30,9 @@ pipeline {
'''
).trim()
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/')) {
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}"
}
}
}