github-integration-plugin icon indicating copy to clipboard operation
github-integration-plugin copied to clipboard

Wildcard branch restriction

Open asc-adean opened this issue 6 years ago • 1 comments

Feature request:

Enable wildcard branch restrictions, either simple * or ant syntax **

For instance:

release/** should match release/v0.1.1 and release/whatever_I_want Thanks

asc-adean avatar Jul 25 '19 20:07 asc-adean

isAllowed = Pattern.compile(branch).matcher(branchName).matches(); Have you tried java regex?

KostyaSha avatar Aug 02 '19 20:08 KostyaSha