Add retry message to gerrit-git-prep macro
So that we can track how often it happens. Change-Id: I7daf5251dd95e07e98cff9845382cdbdd8bcabb5
This commit is contained in:
parent
c1210ef7f8
commit
c7f8c6c1f6
@ -5,6 +5,7 @@
|
||||
#!/bin/bash
|
||||
count=0
|
||||
until /usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org ; do
|
||||
echo "git failed, retrying"
|
||||
count=$(($count + 1))
|
||||
if [ $count -eq 3 ]; then
|
||||
echo "Maximum of 3 git retries reached"
|
||||
|
Loading…
x
Reference in New Issue
Block a user