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

Only run if pipeline trigger tag contains numbers, not letters

Brian Kidmose Andersen January 5, 2023
Hi,
our pipeline yml file contains the following: section, that will be executed if a commit is tagged with the fomat *.*.*;
------------------
       '*.*.*':
          - step:
              name: Tagged triggered release build
-----------------
However we would like that the pipeline _only_ gets triggered if the asterisks are numbers, and hence not letters. Is this possible and if yes - how?
Regards,
Brian

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2023

Hi Brian,

I'm afraid that this is not possible to achieve with glob patterns. We have a feature request to support regex, which would allow such a match:

I would suggest adding a comment to the feature request with your use case for our product managers to take into account and also adding your vote to it (by selecting the Vote for this issue link).

You can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature request.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events