Repository: hbase Updated Branches: refs/heads/master b5bfbc8a9 -> 5bf98d082
HBASE-13208 Patch build should match the patch filename and not the whole relative URL in findBranchNameFromPatchName Signed-off-by: Sean Busbey <bus...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5bf98d08 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5bf98d08 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5bf98d08 Branch: refs/heads/master Commit: 5bf98d0827a8b53b44394d5477fb2e73aa1b84fb Parents: b5bfbc8 Author: Esteban Gutierrez <este...@cloudera.com> Authored: Wed Mar 11 11:32:40 2015 -0700 Committer: Sean Busbey <bus...@apache.org> Committed: Wed Mar 11 14:02:48 2015 -0500 ---------------------------------------------------------------------- dev-support/test-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/5bf98d08/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 561b0c8..31aa27e 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -210,7 +210,7 @@ checkout () { findBranchNameFromPatchName() { local patchName=$1 for LOCAL_BRANCH_NAME in $BRANCH_NAMES; do - if [[ $patchName =~ .*$LOCAL_BRANCH_NAME.* ]]; then + if [[ $patchName =~ /jira/secure/attachment/[0-9]*/.*$LOCAL_BRANCH_NAME ]]; then BRANCH_NAME=$LOCAL_BRANCH_NAME break fi