Move the trigger branch definition into script/utils.sh
What does this MR do and why?
This MR addresses an incorrectly hard-coded CNG branch name used in rails-production-server-boot-puma-cng
job, as reported in !136764 (comment 1649020988).
Re: Make sure CNG pipeline uses the branch that mat... (#429717 - closed)
How to test
- The updated script can be found working in the following 2 jobs where the value of
TRIGGER_BRANCH
is set to16-6-stable
after stubbing the target branch to be16-6-stable-ee
:
- Without the stubbing from step 1,
TRIGGER_BRANCH
then holds the value ofmaster
because this MR is actually targeting themaster
branch:
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jennifer Li