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/22 13:07:32 UTC

hbase git commit: HBASE-18467 add a try/catch block.

Repository: hbase
Updated Branches:
  refs/heads/HBASE-18467 39aff5114 -> af4cbb770


HBASE-18467 add a try/catch block.


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

Branch: refs/heads/HBASE-18467
Commit: af4cbb770eb3d2593dc86582ff0686429f4f4809
Parents: 39aff51
Author: Sean Busbey <bu...@apache.org>
Authored: Tue Aug 22 08:07:14 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 22 08:07:14 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/af4cbb77/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 8876e5f..9fb3530 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -410,9 +410,11 @@ END
              def pattern = /HBASE-[0-9]+/
              echo "pattern (${pattern.class}): ${pattern}"
              echo "eachMatch:"
+             try {
              msg.eachMatch(pattern) {
                echo "	${it}"
              }
+             
              echo "/eachMatch"
              msg.findAll( /HBASE-[0-9]+/ ).each { currentIssue ->
                echo "[DEBUG] found jira key: ${currentIssue}"
@@ -424,6 +426,10 @@ END
                  seenJiras << currentIssue
                }
              }
+             } catch (Exception exception) {
+               echo "Got exception: ${exception}"
+               echo "	${exception.getStackTrace()}"
+             }
              //TODO warn if no JIRA key found in message, email committer
            }
          }