AMBARI-20781. Hadoop QA test results link is broken

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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 6c8458f860e89635ea0060950c7886048d858d07
Parents: f012848
Author: Attila Doroszlai <[email protected]>
Authored: Thu Apr 20 18:27:31 2017 +0200
Committer: Attila Doroszlai <[email protected]>
Committed: Thu Apr 20 18:27:31 2017 +0200

----------------------------------------------------------------------
 dev-support/test-patch.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6c8458f8/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 934e092..6ed8322 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -665,6 +665,7 @@ runTests () {
     done
 
     test_logfile=$PATCH_DIR/testrun_${module_suffix}.txt
+    
test_logfile_url=$BUILD_URL/artifact/patch-work/testrun_${module_suffix}.txt
     echo "  Running tests in $module"
 
     # Skip java tests if this module did not have changes to java files
@@ -691,7 +692,7 @@ $module_test_timeouts"
 ${module_failed_tests}"
     fi
     if [[ $test_build_result != 0 && -z "$module_failed_tests" && -z 
"$module_test_timeouts" ]] ; then
-      failed_test_builds="$module $failed_test_builds"
+      failed_test_builds="[$module|$test_logfile_url] $failed_test_builds"
     fi
     cd -
   done
@@ -995,8 +996,6 @@ if [[ $JENKINS == "true" || $RUN_TESTS == "true" ]] ; then
 fi
 checkInjectSystemFaults
 (( RESULT = RESULT + $? ))
-JIRA_COMMENT_FOOTER="Test results: $BUILD_URL/testReport/
-$JIRA_COMMENT_FOOTER"
 
 submitJiraComment $RESULT
 cleanupAndExit $RESULT

Reply via email to