Fix bash if exit
Change-Id: I82fe3c2e702bbad9a8b3dc87e3317eb4dd4fc6c8
This commit is contained in:
parent
0f44961ec9
commit
7cd93ec597
@ -17,7 +17,7 @@ while ! grep -q "$END_UUID" /tmp/console.txt; do
|
||||
TRIES=$((TRIES+1))
|
||||
if [ $TRIES -gt $RETRY_LIMIT ]; then
|
||||
break
|
||||
done
|
||||
fi
|
||||
sleep 3
|
||||
wget -c -O /tmp/console.txt --no-check-certificate $BUILD_URL$console_log_path
|
||||
done
|
||||
@ -29,7 +29,7 @@ while ! grep -q "$END_UUID" /tmp/console.html; do
|
||||
TRIES=$((TRIES+1))
|
||||
if [ $TRIES -gt $RETRY_LIMIT ]; then
|
||||
break
|
||||
done
|
||||
fi
|
||||
sleep 3
|
||||
wget -c -O /tmp/console.html --no-check-certificate $BUILD_URL$console_log_path
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user