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

Bamboo Pattern match labeling - How to ?

Prabhat-Kumar June 20, 2018

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
Prabhat-Kumar June 20, 2018

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
TAGS
AUG Leaders

Atlassian Community Events