tomasbjerre / simple-bitbucket-commit-checker

Simple, and easy to use, commit checker for Atlassian Bitbucket Server
https://marketplace.atlassian.com/plugins/se.bjurr.sscc.sscc
Other
21 stars 19 forks source link

Exclusion of branches to the regexp required for the commit message #62

Open glndgrgd opened 8 years ago

glndgrgd commented 8 years ago

Hi,

Is there a way to exclude some branches from being checked? We currently have to audit the commit messages for specific branches only.

tomasbjerre commented 8 years ago

Yes. There is a regexp to check only branches matching a regexp.

Den 10 nov. 2016 20:08 skrev "glndgrgd" notifications@github.com:

Hi,

Is there a way to exclude some branches from being checked? We currently have to audit the commit messages for specific branches only.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tomasbjerre/simple-bitbucket-commit-checker/issues/62, or mute the thread https://github.com/notifications/unsubscribe-auth/AAa1E7--jC7fQCRUFb5ZtOrZOA8tGDprks5q82u8gaJpZM4KvBbg .

glndgrgd commented 8 years ago

However, our users will need to input more than 1 branch

tomasbjerre commented 8 years ago

You can have "or" as | in regexp.

Den 10 nov. 2016 21:34 skrev "glndgrgd" notifications@github.com:

However, our users will need to input more than 1 branch

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tomasbjerre/simple-bitbucket-commit-checker/issues/62#issuecomment-259799986, or mute the thread https://github.com/notifications/unsubscribe-auth/AAa1E4f35KCFyzOs7ut_9ulWG5JHjw0Nks5q83_vgaJpZM4KvBbg .

tomasbjerre commented 8 years ago

Maby somthing like https://jex.im/regulex/#!embed=false&flags=&re=%5Erefs%2Fheads%2F(branch1%7Cbranch2%7Cbranch3)%24