aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorNicholas Chammas <nicholas.chammas@gmail.com>2014-09-30 13:28:41 -0700
committerReynold Xin <rxin@apache.org>2014-09-30 13:28:41 -0700
commitd3a3840e077802647aced1ceace1494605dda1db (patch)
tree164161ef86283d7d169e56dc087ad8f6673ae8e2 /dev
parenta01a30927d107a8d9496f749eb9d89eda6dda9d7 (diff)
downloadspark-d3a3840e077802647aced1ceace1494605dda1db.tar.gz
spark-d3a3840e077802647aced1ceace1494605dda1db.tar.bz2
spark-d3a3840e077802647aced1ceace1494605dda1db.zip
[Build] Post commit hash with timeout messages
[By request](https://github.com/apache/spark/pull/2588#issuecomment-57266871), and because it also makes sense. Author: Nicholas Chammas <nicholas.chammas@gmail.com> Closes #2597 from nchammas/timeout-commit-hash and squashes the following commits: 3d90714 [Nicholas Chammas] Revert "testing: making timeout 1 minute" 2353c95 [Nicholas Chammas] testing: making timeout 1 minute e3a477e [Nicholas Chammas] post commit hash with timeout
Diffstat (limited to 'dev')
-rwxr-xr-xdev/run-tests-jenkins6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins
index a6ecf3196d..0b1e31b941 100755
--- a/dev/run-tests-jenkins
+++ b/dev/run-tests-jenkins
@@ -141,8 +141,10 @@ function post_message () {
test_result="$?"
if [ "$test_result" -eq "124" ]; then
- fail_message="**[Tests timed out](${BUILD_URL}consoleFull)** after \
- a configured wait of \`${TESTS_TIMEOUT}\`."
+ fail_message="**[Tests timed out](${BUILD_URL}consoleFull)** \
+ for PR $ghprbPullId at commit [\`${SHORT_COMMIT_HASH}\`](${COMMIT_URL}) \
+ after a configured wait of \`${TESTS_TIMEOUT}\`."
+
post_message "$fail_message"
exit $test_result
else