When configuring a plan to support automatic plan branching on the branching of repos, I'm given the option to write a regular expression to match the name of the repo branch. The label of the field is "Only create Branches that match".
What kind of expressions are supported here? Some kind of reference would be nice. And more specifically: is it possible to express a set of branches that should NOT trigger a plan branch to be created?
Any insight shared would be valuable.
Regards,
This syntax is used:
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html
OK, thanks!
With that, I guess I can somehow construct an expression that is matching all but some sequence, even though I'm not sure exactly how. :) But I'll try it out eventually.
And since the question was mostly about the syntax, I'll mark your reply as an answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you don't want develop to be triggered you can use:
^((?!develop).)*$
into the "Only Create Branches that Match" field on the branch configuration tab.
Rudy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have an agent named testbamboorm10.site4. Added an requirement "
unique.agent.name | Custom | matches | .*site4 |
"
Why is fails? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still no comments or ideas on this? I thought it would be a pretty simple one to answer.
Basically, what I'm wondering is just what syntax/pattern language I can/should use when specifying a value in the above field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.