Adding JobKind: BUILD to failed jobs query
What does this MR do and why?
Important: Only merge in %16.1 for Compatibility issues
Currently the failed Jobs page will show both failed CI Build Jobs and CI Bridge jobs (Triggers). This is a regression as we only want to show Build jobs.
The graphQL resolver was added in a previous MR: !119569 (merged)
Screenshots or screen recordings
Currently
After the fix:
How to set up and validate locally
- Create a pipeline that has both failing Build and Trigger jobs
- Sample CI
stages: # List of stages for jobs, and their order of execution
- test
- deploy
lint-test-job: # This job also runs in the test stage.
stage: test # It can run at the same time as unit-test-job (in parallel).
script:
- unknown_command
trigger_job:
stage: deploy
trigger:
include:
- local: Child/child-pipelinez.yml
- the failed jobs tab should only list the
lint-test-job
and not thetrigger_job
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.
Related to #407277 (closed)
Edited by Max Fan