Repository: ambari
Updated Branches:
  refs/heads/trunk be83a39eb -> 8113f04a0


AMBARI-20631. Hadoop QA link to RAT warnings is wrong


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

Branch: refs/heads/trunk
Commit: 8113f04a0db63db003986a8a7f7a830279e0d458
Parents: be83a39
Author: Attila Doroszlai <[email protected]>
Authored: Thu Mar 30 17:15:32 2017 +0200
Committer: Attila Doroszlai <[email protected]>
Committed: Thu Mar 30 21:30:35 2017 +0200

----------------------------------------------------------------------
 dev-support/test-patch.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8113f04a/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 661f871..294c840 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -390,7 +390,7 @@ checkJavacWarnings () {
   if [[ $? != 0 ]] ; then
     JIRA_COMMENT="$JIRA_COMMENT
 
-    {color:red}-1 javac{color:red}.  The patch appears to cause the build to 
fail."
+    {color:red}-1 javac{color}.  The patch appears to cause the build to fail."
     return 2
   fi
   ### Compare trunk and patch javac warning numbers
@@ -407,7 +407,7 @@ checkJavacWarnings () {
       {color:red}-1 javac{color}.  The applied patch generated 
$patchJavacWarnings javac compiler warnings (more than the trunk's current 
$trunkJavacWarnings warnings)."
 
     $DIFF $PATCH_DIR/filteredTrunkJavacWarnings.txt 
$PATCH_DIR/filteredPatchJavacWarnings.txt > $PATCH_DIR/diffJavacWarnings.txt 
-        JIRA_COMMENT_FOOTER="Javac warnings: 
$BUILD_URL/artifact/trunk/patchprocess/diffJavacWarnings.txt
+        JIRA_COMMENT_FOOTER="Javac warnings: 
$BUILD_URL/artifact/patch-work/diffJavacWarnings.txt
 $JIRA_COMMENT_FOOTER"
 
         return 1
@@ -449,7 +449,7 @@ checkReleaseAuditWarnings () {
         {color:red}-1 release audit{color}.  The applied patch generated 
$patchReleaseAuditWarnings release audit warnings."
         $GREP '\!?????' $PATCH_DIR/patchReleaseAuditWarnings.txt > 
$PATCH_DIR/patchReleaseAuditProblems.txt
         echo "Lines that start with ????? in the release audit report indicate 
files that do not have an Apache license header." >> 
$PATCH_DIR/patchReleaseAuditProblems.txt
-        JIRA_COMMENT_FOOTER="Release audit warnings: 
$BUILD_URL/artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
+        JIRA_COMMENT_FOOTER="Release audit warnings: 
$BUILD_URL/artifact/patch-work/patchReleaseAuditProblems.txt
 $JIRA_COMMENT_FOOTER"
         return 1
       fi
@@ -568,7 +568,7 @@ checkFindbugsWarnings () {
       $PATCH_DIR/newPatchFindbugsWarnings${module_suffix}.xml \
       $PATCH_DIR/newPatchFindbugsWarnings${module_suffix}.html
     if [[ $newFindbugsWarnings > 0 ]] ; then
-      JIRA_COMMENT_FOOTER="Findbugs warnings: 
$BUILD_URL/artifact/trunk/patchprocess/newPatchFindbugsWarnings${module_suffix}.html
+      JIRA_COMMENT_FOOTER="Findbugs warnings: 
$BUILD_URL/artifact/patch-work/newPatchFindbugsWarnings${module_suffix}.html
 $JIRA_COMMENT_FOOTER"
     fi
   done

Reply via email to