From ba460519adc99d1a07f53f9af6dead0e02f58e37 Mon Sep 17 00:00:00 2001 From: Hongchao Deng Date: Wed, 3 Jan 2018 13:45:11 -0800 Subject: [PATCH] jenkins: describe e2e testing pod when it failed --- test/pod/run-test-pod | 1 + 1 file changed, 1 insertion(+) diff --git a/test/pod/run-test-pod b/test/pod/run-test-pod index c281b2ed9..51e7757a3 100755 --- a/test/pod/run-test-pod +++ b/test/pod/run-test-pod @@ -70,5 +70,6 @@ if [ "${POD_PHASE}" == "${PHASE_SUCCEEDED}" ]; then echo "e2e tests finished successfully" else echo "e2e tests failed" + kubectl -n ${TEST_NAMESPACE} describe pod ${POD_NAME} exit 1 fi