Minor update for Devstack build server
The output of stack.sh changed slightly in the past three months, necessitating a slight change to the part of the ds-build script that waits for stack.sh to complete. Change-Id: Idc35b3ab921f423d8f4ba0c6a8a048cc6f3303eb
This commit is contained in:
parent
e7cc78bada
commit
7ed816b68f
@ -44,7 +44,7 @@ retrystring='git call failed: \[git clone'
|
||||
|
||||
success=0
|
||||
while [ "$success" = 0 ]; do
|
||||
if [ `tail -1 $log 2>/dev/null |grep -c "$donestring"` = 1 ]; then
|
||||
if [ `tail -5 $log 2>/dev/null |grep -c "$donestring"` = 1 ]; then
|
||||
success=1
|
||||
elif [ `tail -2 $log 2>/dev/null |grep -c "$retrystring"` = 1 ]; then
|
||||
pkill -f devstack/stack.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user