Skip to content

Commit

Permalink
Issue #422: Intentionally fail each retry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmogan committed Jan 14, 2025
1 parent 0f75a3b commit a080143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/spack/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a080143

Please sign in to comment.