Fix users encounters 404 Not Found error when it's bridge job
What does this MR do and why?
This MR fixes that users encounter 404 Not Found error when they click a job link that triggers a downstream pipeline. This bug only appears when user navigates from non-pipeline page, such as environment page. After this fix, they're redirected to the downstream pipeline page, which is the same behavior with the pipeline page.
Related to Support `environment` keyword with `trigger` ke... (#369061 - closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Setup Support environment keyword with trigger keyword (!128693 - merged)
- Navigate to the Environment details page.
- Click the job URL.
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