This commit is contained in:
parent
5a9d8305c4
commit
be587c2564
@ -88,6 +88,9 @@ jobs:
|
|||||||
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
|
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
|
||||||
if [ $attempts -eq $max_attempts ]; then
|
if [ $attempts -eq $max_attempts ]; then
|
||||||
echo "Live server not ready after $max_attempts attempts"
|
echo "Live server not ready after $max_attempts attempts"
|
||||||
|
ping live-server
|
||||||
|
nslookup live-server
|
||||||
|
nc -z live-server 8081
|
||||||
curl -v http://live-server:8081
|
curl -v http://live-server:8081
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user