Merge "Give a more specific error message when giving up in git_remote_update"

This commit is contained in:
Jenkins
2014-12-15 14:36:46 +00:00
committed by Gerrit Code Review

View File

@@ -184,6 +184,7 @@ function git_remote_update {
COUNT=$(($COUNT + 1))
echo "git remote update failed."
if [ $COUNT -eq $MAX_ATTEMPTS ]; then
echo "Max attempts reached for git remote update; giving up."
exit 1
fi
SLEEP_TIME=$((30 + $RANDOM % 60))