Skip to content

Commit

Permalink
Merge pull request #286 from snake/fix-remotebranchcheck-displayname
Browse files Browse the repository at this point in the history
Fixes the generation of displayname when integrateto is set to main
  • Loading branch information
stronk7 authored Nov 20, 2023
2 parents 4c4b34e + babb4d0 commit 6e03e69
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 6e03e69

Please sign in to comment.