Merge branch 'ci/fix-artifacts-for-generate-job' into 'master'

fix: save artifacts for generate job

See merge request espressif/esp-idf!32710
This commit is contained in:
Fu Hanxi 2024-08-09 16:12:36 +08:00
commit f08926be0e
3 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,9 @@ generate_pytest_report:
- failed_cases.html - failed_cases.html
- skipped_cases.html - skipped_cases.html
- succeeded_cases.html - succeeded_cases.html
expire_in: 1 week
when: always
script: script:
- python tools/ci/get_known_failure_cases_file.py - python tools/ci/get_known_failure_cases_file.py
- python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type target_test - python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type target_test

View File

@ -9,6 +9,9 @@ generate_pytest_build_report:
paths: paths:
- build_report.html - build_report.html
- test_related_apps_download_urls.yml - test_related_apps_download_urls.yml
expire_in: 1 week
when: always
script: script:
- python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type build - python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type build
- python tools/ci/previous_stage_job_status.py --stage build - python tools/ci/previous_stage_job_status.py --stage build

View File

@ -31,5 +31,6 @@ if __name__ == '__main__':
for job in jobs: for job in jobs:
if job['stage'] == args.stage: if job['stage'] == args.stage:
print(f'Jobs from the previous stage {args.stage} should pass; otherwise, this job will fail.')
sys.exit(1) sys.exit(1)
page += 1 page += 1