hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject [50/50] [abbrv] hbase git commit: HBASE-18467 why are we serializing the changeset
Date Thu, 14 Sep 2017 04:00:11 GMT
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 <busbey@apache.org>
Authored: Sun Aug 27 00:48:54 2017 -0500
Committer: Sean Busbey <busbey@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"


Mime
View raw message