Debug CI
gitea/bidon/pipeline/head Something is wrong with the build of this commit
Details
gitea/bidon/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
2fb52efda8
commit
80d7fb2fbb
|
@ -19,11 +19,10 @@ pipeline {
|
|||
echo "${JOB_NAME}" | sed "s/gitea\\///" | awk -F/ '{print $1}'
|
||||
'''
|
||||
).trim()
|
||||
sh 'printenv'
|
||||
if (env.BRANCH_NAME == '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}"
|
||||
} else if (env.BRANCH_NAME.startsWith('hotfix/')) {
|
||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d bullseye --branch ${env.BRANCH_NAME} --hotfix ${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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue