ci: upload junit report from child pipeline

supported in gitlab 18.5
This commit is contained in:
Fu Hanxi
2026-02-04 13:56:35 +01:00
parent 9040191fcc
commit cb2cca0194
2 changed files with 2 additions and 22 deletions
-18
View File
@@ -86,24 +86,6 @@ deploy_update_SHA_in_esp-dockerfiles:
name: deploy_update_SHA_in_esp-dockerfiles_production name: deploy_update_SHA_in_esp-dockerfiles_production
deployment_tier: production deployment_tier: production
upload_junit_report:
extends:
- .deploy_job_template
tags: [ fast_run, shiny ]
needs:
- pipeline_variables
- job: build_child_pipeline
artifacts: false
script:
- run_cmd idf-ci gitlab download-artifacts --type junit
rules:
- when: always
artifacts:
reports:
junit: XUNIT_RESULT_*.xml
expire_in: 1 week
when: always
target-examples-count-metrics: target-examples-count-metrics:
extends: extends:
- .metrics_template - .metrics_template
@@ -68,10 +68,8 @@
paths: paths:
- XUNIT_RESULT*.xml - XUNIT_RESULT*.xml
- pytest-embedded/ - pytest-embedded/
# Child pipeline reports won't be collected in the main one reports:
# https://gitlab.com/groups/gitlab-org/-/epics/8205 junit: XUNIT_RESULT*.xml
# reports:
# junit: XUNIT_RESULT.xml
when: always when: always
expire_in: 1 week expire_in: 1 week
script: script: