Skip to content

Commit

Permalink
Increase brew update retries and sleep duration. (#1039)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Oct 16, 2023
1 parent 312fa95 commit 5143e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins-scripts/lib/_homebrew_base_setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export HOMEBREW_UPDATE_TO_TAG=1
# run it several times until it succeeds.
# See https://github.com/Homebrew/brew/issues/1155
brew_update_retry_count=0
until ${BREW_BINARY} update || (( brew_update_retry_count++ > 6 ))
until ${BREW_BINARY} update || (( brew_update_retry_count++ > 10 ))
do
sleep 10
sleep 60
done
# manually exclude a ruby warning that jenkins thinks is from clang
# https://github.com/osrf/homebrew-simulation/issues/1343
Expand Down

0 comments on commit 5143e36

Please sign in to comment.