Repository: hbase
Updated Branches:
  refs/heads/HBASE-18467 8775d6550 -> 520d9a1bb


HBASE_18467 more debug info. :/ jenkins groovy is miserable.


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

Branch: refs/heads/HBASE-18467
Commit: 520d9a1bb678c5a291ca7acee85a335ffd888d1c
Parents: 8775d65
Author: Sean Busbey <bus...@apache.org>
Authored: Mon Aug 21 09:09:19 2017 -0500
Committer: Sean Busbey <bus...@apache.org>
Committed: Mon Aug 21 09:09:19 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/520d9a1b/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index aa06ef7..f5af4fb 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -391,15 +391,17 @@ END
          echo ""
          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."
          }
          def seenJiras = []
          for ( change in currentBuild.changeSets ) {
            echo "change:"
-           echo "      ${change.getAuthor}"
-           echo "      ${change.getMsg}"
-           echo "      ${change.getMsgAnnotated}"
+           echo "      ${change.getAuthorName()}"
+           echo "      ${change.getMsg()}"
+           echo "      ${change.getMsgAnnotated()}"
            echo ""
-           change.getMsg.findAll( /HBASE-[0-9]+/ ).each { currentIssue ->
+           change.getMsg().findAll( /HBASE-[0-9]+/ ).each { currentIssue ->
              echo "[DEBUG] found jira key: ${currentIssue}"
              if ( currentIssue in seenJiras ) {
                echo "[DEBUG] already commented on ${currentIssue}."

Reply via email to