diff --git a/.gitlab/ci/common.yml b/.gitlab/ci/common.yml index 03a35de8b21..b56e86996e9 100644 --- a/.gitlab/ci/common.yml +++ b/.gitlab/ci/common.yml @@ -268,7 +268,11 @@ variables: - source tools/ci/utils.sh - source tools/ci/configure_ci_environment.sh - *show_ccache_statistics - - *upload_failed_job_log_artifacts + - run_cmd idf-ci gitlab upload-artifacts --type junit + - | + if [ $CI_JOB_STATUS = "failed" ]; then + run_cmd idf-ci gitlab upload-artifacts --type log + fi .brew-macos-settings: variables: