Fix `Ci::Pipeline#environments` not working for bridge jobs
This MR is on top of Refactor `Deployment` compatible with `Ci::Buil... (!128192 - merged).
What does this MR do and why?
Ci::Pipeline#environments_in_self_and_project_descendants
method is used for fetching related environments for a particular pipeline.
This fetches the relationship via build jobs currently, however, it should also include bridge jobs in order for Support `environment` keyword with `trigger` ke... (#369061 - closed).
Screenshots or screen recordings
N/A (This feature is not surfaced to users yet.)
How to set up and validate locally
N/A (This feature is not surfaced to users yet.)
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 Shinya Maeda