Skip to content

Commit 70b170a

Browse files
author
paulus
committed
Better logging 2.
1 parent 7430542 commit 70b170a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,11 @@ jobs:
199199
if ! kubectl wait --for=condition=complete --all jobs --timeout=30m; then
200200
echo "::error::Kubectl timed out...";
201201
kubectl get events --all-namespaces --sort-by='.metadata.creationTimestamp'
202-
kubectl get pods
203202
for pod in $(kubectl get pod --field-selector=status.phase==Running -o name); do
203+
echo "Logs for $pod:"
204204
kubectl logs $pod --all-containers=true
205205
done;
206+
kubectl get pods
206207
exit 1;
207208
fi
208209
- name: Run maven cucumber reporting

0 commit comments

Comments
 (0)