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/09/14 04:00:11 UTC

[50/50] [abbrv] hbase git commit: HBASE-18467 why are we serializing the changeset

HBASE-18467 why are we serializing the changeset


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

Branch: refs/heads/HBASE-18467
Commit: f9aa0760bf2fbdb0fc14bcca09a126453f2563a0
Parents: 2268e18
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 27 00:48:54 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Wed Sep 13 22:51:11 2017 -0500

----------------------------------------------------------------------
 dev-support/Jenkinsfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f9aa0760/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 95d2b67..28ca8b7 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -394,7 +394,6 @@ END
            echo ""
            echo "[INFO] There are ${currentBuild.changeSets.size()} change sets."
            def seenJiras = []
-           CharSequence pattern = /HBASE-[0-9]+/
            for ( changelist in currentBuild.changeSets ) {
              if ( changelist.isEmptySet() ) {
                echo "[DEBUG] change set was empty, skipping JIRA comments."
@@ -410,8 +409,8 @@ END
                echo "     ${change.author}"
                echo ""
                // Workaround for JENKINS-46358
-               writeFile file: 'tmp_commit_file', text: msg
-               sh "grep -o -E '${pattern}' 'tmp_commit_file' >matched_jiras"
+               writeFile file: 'tmp_commit_file', text: "${msg}"
+               sh '''grep -o -E 'HBASE-[0-9]+' 'tmp_commit_file' >matched_jiras'''
                def jiras = readFile(file: 'matched_jiras').split()
                if (jiras.length == 0) {
                  echo "[WARN] no JIRA key found in message, TODO email committer"