Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase brew update retries and sleep duration. #1039

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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