Skip to content

Update trigger-buid to populate the correct TRIGGER_BRANCH value

Jennifer Li requested to merge jennli-update-trigger-build-1 into 16-6-stable-ee

What does this MR do and why?

Re: #429717 (closed)

Update trigger-build to correctly parse TRIGGER_BRANCH for stable branches and for MR targeting stable branches.

This change was tested in https://gitlab.com/gitlab-org/gitlab/-/jobs/5579541673#L83 and also via rspec

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jennifer Li

Merge request reports