Merge branch 'ci/fix_upload_failed_job_log_script' into 'master'

ci: fix upload failed job log script

See merge request espressif/esp-idf!27357
This commit is contained in:
Fu Hanxi
2023-11-27 18:32:45 +08:00

View File

@@ -172,10 +172,9 @@ variables:
test "$CI_CCACHE_STATS" == 1 && test -n "$(which ccache)" && ccache --show-stats || true
.upload_failed_job_log_artifacts: &upload_failed_job_log_artifacts |
- |
if [ $CI_JOB_STATUS = "failed" ]; then
python tools/ci/artifacts_handler.py upload --type logs
fi
if [ $CI_JOB_STATUS = "failed" ]; then
python tools/ci/artifacts_handler.py upload --type logs
fi
.before_script:minimal:
before_script: