Make sure we fail the job and log more details when it does
This commit is contained in:
@@ -27,7 +27,9 @@ while true; do
|
|||||||
break
|
break
|
||||||
elif [[ "$STATUS" == "Failed" ]]; then
|
elif [[ "$STATUS" == "Failed" ]]; then
|
||||||
echo "$timestamp Failed."
|
echo "$timestamp Failed."
|
||||||
break
|
kubectl -n conformance describe pods e2e-conformance-test || true
|
||||||
|
kubectl -n conformance logs e2e-conformance-test || true
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user