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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Globbing pattern match OR condition Edited

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 I'm New Here Nov 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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,589 views 1 9
Read article

Community Events

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

Events near you