github-integration-plugin
github-integration-plugin copied to clipboard
Wildcard branch restriction
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
isAllowed = Pattern.compile(branch).matcher(branchName).matches();
Have you tried java regex?