From 3b26c8d4df4f106679f6724ae5aa1eb8f7582d90 Mon Sep 17 00:00:00 2001 From: nchammas Date: Tue, 26 Aug 2014 14:22:55 -0400 Subject: [PATCH] [Spark QA] Link to console output on test time out When tests time out we should link to the Jenkins console output for easy review. We already do this for when tests start or complete normally. Here's [a recent example](https://github.com/apache/spark/pull/2109#issuecomment-53374032) of where this would be helpful. --- dev/run-tests-jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins index 31506e28e05af..d9205f08cc134 100755 --- a/dev/run-tests-jenkins +++ b/dev/run-tests-jenkins @@ -138,7 +138,7 @@ function post_message () { test_result="$?" if [ "$test_result" -eq "124" ]; then - fail_message="**Tests timed out** after a configured wait of \`${TESTS_TIMEOUT}\`." + fail_message="**[Tests timed out](${BUILD_URL}consoleFull)** after a configured wait of \`${TESTS_TIMEOUT}\`." post_message "$fail_message" exit $test_result else