From 3e6f974f75b3b8871c478b00781801aceeb1529f Mon Sep 17 00:00:00 2001 From: Patryk Matuszak Date: Tue, 9 Jun 2026 16:09:35 +0200 Subject: [PATCH] Propagate cache download error bash's `if` disables the `set -e`, so if the manage_build_cache.sh download fails, the error is ignored. --- test/bin/ci_phase_iso_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bin/ci_phase_iso_build.sh b/test/bin/ci_phase_iso_build.sh index 0edd72a2d7..6300a973ef 100755 --- a/test/bin/ci_phase_iso_build.sh +++ b/test/bin/ci_phase_iso_build.sh @@ -46,7 +46,7 @@ download_build_cache() { if ./bin/manage_build_cache.sh verify -b "${SCENARIO_BUILD_BRANCH}" -t "${cache_last}" ; then # Download the cached images ./bin/manage_build_cache.sh download -b "${SCENARIO_BUILD_BRANCH}" -t "${cache_last}" - return 0 + return $? fi return 1 }