This commit is contained in:
parent
b8835193d6
commit
4845343309
@ -98,7 +98,11 @@ jobs:
|
||||
while ! curl --output /dev/null --silent --head --fail http://127.0.0.1:8081; do
|
||||
if [ $attempts -eq $max_attempts ]; then
|
||||
echo "Live server not ready after $max_attempts attempts"
|
||||
echo "Printing container logs:"
|
||||
docker logs live-server-container
|
||||
|
||||
echo "Printing contents of the working directory in the container:"
|
||||
docker exec live-server-container ls -la /usr/src/app
|
||||
exit 1
|
||||
fi
|
||||
attempts=$((attempts+1))
|
||||
|
Loading…
Reference in New Issue
Block a user