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

Bamboo Pattern match labeling - How to ?

Hi,

 

I have a automation test which run and create log file with all the passing and failing Jira's in it like REPORT-121 : PASSED or REPORT-122 : FAILED.

I want to scan the log file and pick all these and label the build with them.

So in Pattern match labeling i put below values
Regex = REPORT-/d+
Labels = \1

Error on label = The labels use the backreference "\1" but the REGEX contains only 0 capturing group(s).

 

How can i achieve this ?

1 answer

1 accepted

0 votes
Answer accepted

One of my co-worked helped me.

I needed to put that in the brackets like (REPORT-/d+)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

677 views 2 7
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