I want to use simple Regex as Pattern, but it does not work.
I want to achieve somethink like "pre(con|dition)*"
So anything starting with precon and predition should match, but not for example pretest.
Is this even possible in Bamboo or can I just use the 3 mentioned here? https://confluence.atlassian.com/bamboo/pattern-matching-reference-301663849.html
Thanks in advance
Unfortunately, Bamboo uses ant path matching, not regex. I don't believe there is a way to satisfy that in a single artifact pattern.
The only workaround I can think of, would be to define two artifacts (one for precon and one for predition in your example). Obviously that would not work for every use case though.
Unfortunately, I think you can only use the actual path matching part.
In you example, the best you could do would be:
which would obviously match both precon and predition as well as pretest.
I don't think there is a way to include the exclusions like in the ant reference. The original link you provided from Atlassian is pretty much all of the syntax that you can use.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events