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

Case sensitivity of branch mask

xkelt January 11, 2018

Hi,

 

I found out that a pipeline for us-* is not covering US-*, is there a way how to define a single pipeline for multiple patterns?

Example:

us-*,US-*:

...

 

I'd like to avoid using the default pipeline.

 

Thanks,

Petr

1 answer

1 accepted

1 vote
Answer accepted
StannousBaratheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi @xkelt,

Pipelines uses standard globbing rules to match branch patterns so you can use character ranges to achieve this, for example:

pipelines:
  branches:
    "[uU][sS]-*":
      - step:
          script:
            - echo "hello world"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events