Repository: hbase Updated Branches: refs/heads/HBASE-18467 d1f1c45ad -> 2989a0be1
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/2989a0be Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2989a0be Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2989a0be Branch: refs/heads/HBASE-18467 Commit: 2989a0be1960721c5a26a279d9188f159512eee6 Parents: d1f1c45 Author: Sean Busbey <bus...@apache.org> Authored: Sun Aug 27 00:48:54 2017 -0500 Committer: Sean Busbey <bus...@apache.org> Committed: Sun Aug 27 00:48:54 2017 -0500 ---------------------------------------------------------------------- dev-support/Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/2989a0be/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"