You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2017/08/21 15:14:09 UTC

[1/2] hbase git commit: HBASE-18467 result of help from Andrew B.

Repository: hbase
Updated Branches:
  refs/heads/HBASE-18467 b03527bc1 -> a22f0bbbc


HBASE-18467 result of help from Andrew B.


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

Branch: refs/heads/HBASE-18467
Commit: 2c757c0fb4dc1c426d55e79a16e1bff3cc0f0baf
Parents: b03527b
Author: Sean Busbey <bu...@apache.org>
Authored: Mon Aug 21 10:01:03 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Mon Aug 21 10:01:03 2017 -0500

----------------------------------------------------------------------
 dev-support/Jenkinsfile | 39 +++++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2c757c0f/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index b4aacc5..7f59b7b 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -389,31 +389,34 @@ END
          echo "[INFO] Comment:"
          echo comment
          echo ""
+         echo "[DEBUG] changeset toString: ${currentBuild.changeSets}"
+         echo "[INFO] There are ${currentBuild.changeSets.size()} change sets."
+         def seenJiras = []
+         for ( changelist in currentBuild.changeSets ) {
+           echo "[DEBUG] changelist toString: ${currentBuild.changeSets}"
 //         if ( currentBuild.changeSets.isEmptySet() ) {
 //           echo "[DEBUG] change set was empty, skipping JIRA comments."
 //         } else {
 //           echo "[DEBUG] there are changes in the change set (${currentBuild.changeSets}). Attempting to post comments."
 //         }
-         echo "[DEBUG] changeset toString: ${currentBuild.changeSets}"
-         echo "[INFO] There are ${currentBuild.changeSets.size} changes."
-         def seenJiras = []
-         for ( change in currentBuild.changeSets ) {
-           echo "change:"
-           echo "	${change.getAuthorName()}"
-           echo "	${change.getMsg()}"
-           echo "	${change.getMsgAnnotated()}"
-           echo ""
-           change.getMsg().findAll( /HBASE-[0-9]+/ ).each { currentIssue ->
-             echo "[DEBUG] found jira key: ${currentIssue}"
-             if ( currentIssue in seenJiras ) {
-               echo "[DEBUG] already commented on ${currentIssue}."
-             } else {
-               echo "[INFO] commenting on ${currentIssue}."
-               jiraComment issueKey: currentIssue, body: comment
-               seenJiras << currentIssue
+           for ( change in changelist ) {
+             echo "change:"
+             echo "	${change.getAuthorName()}"
+             echo "	${change.getMsg()}"
+             echo "	${change.getMsgAnnotated()}"
+             echo ""
+             change.getMsg().findAll( /HBASE-[0-9]+/ ).each { currentIssue ->
+               echo "[DEBUG] found jira key: ${currentIssue}"
+               if ( currentIssue in seenJiras ) {
+                 echo "[DEBUG] already commented on ${currentIssue}."
+               } else {
+                 echo "[INFO] commenting on ${currentIssue}."
+                 jiraComment issueKey: currentIssue, body: comment
+                 seenJiras << currentIssue
+               }
              }
+             //TODO warn if no JIRA key found in message, email committer
            }
-           //TODO warn if no JIRA key found in message, email committer
          }
       }
     }


[2/2] hbase git commit: HBASE-18467 output a bit about each scm's changelist.

Posted by bu...@apache.org.
HBASE-18467 output a bit about each scm's changelist.


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

Branch: refs/heads/HBASE-18467
Commit: a22f0bbbc16a16c2c517fe5243b2684e9b19741c
Parents: 2c757c0
Author: Sean Busbey <bu...@apache.org>
Authored: Mon Aug 21 10:13:52 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Mon Aug 21 10:13:52 2017 -0500

----------------------------------------------------------------------
 dev-support/Jenkinsfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a22f0bbb/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 7f59b7b..cce384d 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -393,12 +393,12 @@ END
          echo "[INFO] There are ${currentBuild.changeSets.size()} change sets."
          def seenJiras = []
          for ( changelist in currentBuild.changeSets ) {
-           echo "[DEBUG] changelist toString: ${currentBuild.changeSets}"
-//         if ( currentBuild.changeSets.isEmptySet() ) {
-//           echo "[DEBUG] change set was empty, skipping JIRA comments."
-//         } else {
-//           echo "[DEBUG] there are changes in the change set (${currentBuild.changeSets}). Attempting to post comments."
-//         }
+           echo "[DEBUG] changelist toString: ${changelist}"
+           if ( changelist.isEmptySet() ) {
+             echo "[DEBUG] change set was empty, skipping JIRA comments."
+           } else {
+             echo "[DEBUG] there are changes in the change set. Attempting to post comments."
+           }
            for ( change in changelist ) {
              echo "change:"
              echo "	${change.getAuthorName()}"