From a0801430105ec07a93976102c45adad7b8425baf Mon Sep 17 00:00:00 2001 From: Andrew Mogan Date: Tue, 14 Jan 2025 16:05:07 -0600 Subject: [PATCH] Issue #422: Intentionally fail each retry --- scripts/spack/build-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/spack/build-release.sh b/scripts/spack/build-release.sh index 895e4aef..aefa5464 100755 --- a/scripts/spack/build-release.sh +++ b/scripts/spack/build-release.sh @@ -140,8 +140,8 @@ if [[ $spack_install_exit_code -ne 0 ]]; then #rm -rf spack-${SPACK_VERSION}/spack-repo #rm -rf spack-${SPACK_VERSION}/default spack install --reuse ${DET}daq@${RELEASE_TAG}%gcc@12.1.0 build_type=RelWithDebInfo arch=linux-${OS}-x86_64 | tee dunedaq_build_spack_install.log || true - #bash -c "echo '==> Error: FetchError: All fetchers failed'; exit 111" | tee dunedaq_build_spack_install.log - bash -c "echo 'No more error!'; exit 0" 2>&1 | tee dunedaq_build_spack_install.log + bash -c "echo '==> Error: FetchError: All fetchers failed'; exit 111" | tee dunedaq_build_spack_install.log + #bash -c "echo 'No more error!'; exit 0" 2>&1 | tee dunedaq_build_spack_install.log spack_install_exit_code=${PIPESTATUS[0]} if [[ $spack_install_exit_code -eq 0 ]]; then echo "Build succeeded after attempt number $attempt"