HBASE-13208 Patch build should match the patch filename and not the whole relative URL in findBranchNameFromPatchName
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
b5bfbc8a9f
commit
5bf98d0827
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue