You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/12/14 18:57:07 UTC

spark git commit: [SPARK-18730] Post Jenkins test report page instead of the full console output page to GitHub

Repository: spark
Updated Branches:
  refs/heads/master ac013ea58 -> ba4aab9b8


[SPARK-18730] Post Jenkins test report page instead of the full console output page to GitHub

## What changes were proposed in this pull request?

Currently, the full console output page of a Spark Jenkins PR build can be as large as several megabytes. It takes a relatively long time to load and may even freeze the browser for quite a while.

This PR makes the build script to post the test report page link to GitHub instead. The test report page is way more concise and is usually the first page I'd like to check when investigating a Jenkins build failure.

Note that for builds that a test report is not available (ongoing builds and builds that fail before test execution), the test report link automatically redirects to the build page.

## How was this patch tested?

N/A.

Author: Cheng Lian <li...@databricks.com>

Closes #16163 from liancheng/jenkins-test-report.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ba4aab9b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ba4aab9b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ba4aab9b

Branch: refs/heads/master
Commit: ba4aab9b85688141d3d0c185165ec7a402c9fbba
Parents: ac013ea
Author: Cheng Lian <li...@databricks.com>
Authored: Wed Dec 14 10:57:03 2016 -0800
Committer: Reynold Xin <rx...@databricks.com>
Committed: Wed Dec 14 10:57:03 2016 -0800

----------------------------------------------------------------------
 dev/run-tests-jenkins.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/ba4aab9b/dev/run-tests-jenkins.py
----------------------------------------------------------------------
diff --git a/dev/run-tests-jenkins.py b/dev/run-tests-jenkins.py
index 1d1e72f..bb286af 100755
--- a/dev/run-tests-jenkins.py
+++ b/dev/run-tests-jenkins.py
@@ -80,7 +80,7 @@ def pr_message(build_display_name,
                 short_commit_hash,
                 commit_url,
                 str(' ' + post_msg + '.') if post_msg else '.')
-    return '**[Test build %s %s](%sconsoleFull)** for PR %s at commit [`%s`](%s)%s' % str_args
+    return '**[Test build %s %s](%stestReport)** for PR %s at commit [`%s`](%s)%s' % str_args
 
 
 def run_pr_checks(pr_tests, ghprb_actual_commit, sha1):


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org