Create a new job for each Stage that includes only the JUnit results for that Stage
We want to provide separate reports of QA test results for each Stage.
We can do that using the JUnit test result files we already create in the existing test jobs (they are the files we used to use to create a combined report).
-
For each existing job we could collect the JUnit XML file, then parse it and extract all the test results.
-
And for each Stage we create a new JUnit file that contains the test results for tests for that Stage (determined by the Stage name in the file path)
-
Then for each Stage include the Stage-specific JUnit file as a JUnit report artifact in a new Stage-specific job.
-
gitlab-qa changes: gitlab-org/gitlab-qa!374 (merged) -
pipeline-common changes: gitlab-org/quality/pipeline-common!25 (merged) -
update staging pipelines to use the per-stage reports gitlab-org/quality/staging!45 (merged) -
update canary pipelines to use the per-stage reports gitlab-org/quality/canary!3 (merged) -
update production pipelines to use the per-stage reports https://gitlab.com/gitlab-org/quality/production/-/merge_requests/3