diff --git a/.ci/monolithic-linux.sh b/.ci/monolithic-linux.sh index 5d0fbf5d0a26..a0ce8f3b80f1 100755 --- a/.ci/monolithic-linux.sh +++ b/.ci/monolithic-linux.sh @@ -38,7 +38,7 @@ function at-exit { ccache --print-stats > artifacts/ccache_stats.txt cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log - cp "${BUILD_DIR}"/test-results.*.xml artifacts/ + cp "${BUILD_DIR}"/test-results.*.xml artifacts/ || : # If building fails there will be no results files. shopt -s nullglob diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh index dc9667718946..8dc49aa15819 100755 --- a/.ci/monolithic-windows.sh +++ b/.ci/monolithic-windows.sh @@ -33,7 +33,7 @@ function at-exit { mkdir -p artifacts sccache --show-stats >> artifacts/sccache_stats.txt cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log - cp "${BUILD_DIR}"/test-results.*.xml artifacts/ + cp "${BUILD_DIR}"/test-results.*.xml artifacts/ || : # If building fails there will be no results files. shopt -s nullglob