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/23 02:48:40 UTC
hbase git commit: HBASE-18467 move pattern into a variable because
groovy is horrible.
Repository: hbase
Updated Branches:
refs/heads/HBASE-18467 3a09ab22e -> b0f24d21c
HBASE-18467 move pattern into a variable because groovy is horrible.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b0f24d21
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b0f24d21
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b0f24d21
Branch: refs/heads/HBASE-18467
Commit: b0f24d21c83a17dae5bb2254ef0a4b32d2369a1f
Parents: 3a09ab2
Author: Sean Busbey <bu...@apache.org>
Authored: Tue Aug 22 21:48:23 2017 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 22 21:48:23 2017 -0500
----------------------------------------------------------------------
dev-support/Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b0f24d21/dev-support/Jenkinsfile
----------------------------------------------------------------------
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 28f8edd..4f41cbf 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -393,6 +393,7 @@ END
echo ""
echo "[INFO] There are ${currentBuild.changeSets.size()} change sets."
def seenJiras = []
+ def jiraPattern = ~/HBASE-[0-9]+/
try {
for ( changelist in currentBuild.changeSets ) {
if ( changelist.isEmptySet() ) {
@@ -409,7 +410,7 @@ END
echo " ${change.author}"
echo ""
// For now, only match the first occurrance of an HBase jira id, due to JENKINS-46358
- msg.find( ~/HBASE-[0-9]+/ ) { currentIssue ->
+ msg.find( jiraPattern ) { currentIssue ->
echo "[DEBUG] found jira key: ${currentIssue}"
if ( currentIssue in seenJiras ) {
echo "[DEBUG] already commented on ${currentIssue}."