ci: add CI_JOB_ID as suffix to help ci-dashboard parse info easier

This commit is contained in:
Fu Hanxi
2025-07-16 13:53:44 +02:00
parent 95fbd6b81a
commit 158eb78555
3 changed files with 3 additions and 4 deletions

View File

@@ -21,13 +21,12 @@ ignore_warning_files = [
build_dir = "build_@t_@w"
build_log_filename = "build_log.txt"
size_json_filename = "size.json"
size_json_filename = "size_${CI_JOB_ID}.json"
verbose = 1 # INFO
# collect
collect_app_info_filename = "app_info_${CI_JOB_NAME_SLUG}.txt"
collect_size_info_filename = "size_info_${CI_JOB_NAME_SLUG}.txt" # TODO remove this file when ci-dashboard is ready
junitxml = "build_summary_${CI_JOB_NAME_SLUG}.xml"
# manifest

View File

@@ -74,7 +74,7 @@ patterns = [
bucket = "idf-artifacts"
patterns = [
'**/build*/build_log.txt',
'**/build*/size.json',
'**/build*/size*.json',
]
[gitlab.artifacts.s3.junit]

View File

@@ -82,7 +82,7 @@
# CI specific options start from "--known-failure-cases-file xxx". could ignore when running locally
- run_cmd pytest $nodes
--pipeline-id $PARENT_PIPELINE_ID
--junitxml=XUNIT_RESULT_${CI_JOB_NAME_SLUG}.xml
--junitxml=XUNIT_RESULT_${CI_JOB_ID}.xml
--ignore-result-files ${KNOWN_FAILURE_CASES_FILE_NAME}
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}