Skip to content

Commit

Permalink
Fixes the generation of displayname when integrateto is set to main
Browse files Browse the repository at this point in the history
This is currently broken, causing things like mdk precheck to fail.
  • Loading branch information
snake committed Nov 20, 2023
1 parent 4c4b34e commit 3d61d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote_branch_checker/remote_branch_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ${mydir}/../git_garbage_collector/git_garbage_collector.sh
# to connect to it using jenkins cli..
displayname=""
if [[ -n "${BUILD_TAG}" ]] && [[ ! "${issue}" = "" ]] && [[ -n "${jenkinsserver}" ]]; then
if [[ "${integrateto}" = "master" ]]; then
if [[ "${integrateto}" = "master" ] || [ "${integrateto}" = "main" ]]; then
displayname="#${BUILD_NUMBER}:${issue}"
else
if [[ ${integrateto} =~ ^MOODLE_([0-9]*)_STABLE$ ]]; then
Expand Down

0 comments on commit 3d61d97

Please sign in to comment.