sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject incubator-sentry git commit: SENTRY-789: Jenkins should support test branch with special character (Dapeng Sun, reviewed by Guoquan Shen)
Date Thu, 02 Jul 2015 07:27:57 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/master 1556781c4 -> 17fcc4d46


SENTRY-789: Jenkins should support test branch with special character (Dapeng Sun, reviewed
by Guoquan Shen)


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/17fcc4d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/17fcc4d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/17fcc4d4

Branch: refs/heads/master
Commit: 17fcc4d46e5a1eafd4c9780723aeecf84c0215dc
Parents: 1556781
Author: Sun Dapeng <sdp@apache.org>
Authored: Thu Jul 2 15:19:47 2015 +0800
Committer: Sun Dapeng <sdp@apache.org>
Committed: Thu Jul 2 15:19:47 2015 +0800

----------------------------------------------------------------------
 dev-support/test-patch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/17fcc4d4/dev-support/test-patch.py
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py
index d36e7fd..f9f79ea 100644
--- a/dev-support/test-patch.py
+++ b/dev-support/test-patch.py
@@ -283,7 +283,7 @@ if defect:
     sys.exit(1)
   result.attachment = attachment
   # parse branch info
-  branchPattern = re.compile('/secure/attachment/\d+/%s(\.\d+)-(\w+)\.(patch|txt|patch.\txt)'
% (re.escape(defect)))
+  branchPattern = re.compile('/secure/attachment/\d+/%s(\.\d+)-(\S+)\.(patch|txt|patch.\txt)'
% (re.escape(defect)))
   try:
     branchInfo = re.search(branchPattern,attachment)
     if branchInfo:


Mime
View raw message