Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Globbing pattern match OR condition

ismael-h November 9, 2017

Hi, I would like to mutualize several branch sections by creating a glob pattern that matches some branches name. 

For instance, I want all branches beginning by 'topicA' OR 'topicB' triggering the same treatment: 

I  tried these: 

topicA* topicB* 

and:

topicA*|topicB*

None of them seems to work. 

Hower, locally the globing pattern are working i.e the wrong scripts is triggered. (i use compgen tool to test my patterns) 

 

Thx

1 answer

0 votes
robbytx November 10, 2020

I'm unsure whether the same applies to branch patterns, but I was pleasantly surprised that I was able to successfully use Bash-style brace expansion when defining the files to include in an artifact. 

See https://community.atlassian.com/t5/Bamboo-questions/Re-What-can-be-used-as-Pattern-when-defining-Artifacts/qaq-p/1529736/comment-id/29346#M29346 for my example.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events