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 05:38:51 UTC

[2/2] hbase git commit: HBASE-18467 switch to eachMatch instead of findAll().each

HBASE-18467 switch to eachMatch instead of findAll().each


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

Branch: refs/heads/HBASE-18467
Commit: 8482a29866805a76ada2f54b10c42cff12591aa4
Parents: b27ac69
Author: Sean Busbey <bu...@apache.org>
Authored: Tue Aug 22 00:38:33 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 22 00:38:33 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/8482a298/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 133e94c..5b30c31 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -409,10 +409,9 @@ END
              echo ""
              def pattern = /HBASE-[0-9]+/
              echo "pattern: ${pattern}"
-             def matches = msg.findAll(pattern)
-             echo "matches: ${matches}"
-             matches.each { foo ->
-               echo "	${foo}"
+             echo "eachMatch:"
+             def matches = msg.eachMatch(pattern) {
+               echo "	${it}"
              }
              msg.findAll( /HBASE-[0-9]+/ ).each { currentIssue ->
                echo "[DEBUG] found jira key: ${currentIssue}"