Does excluding changesets support negative regexes?

Odin Odin February 10, 2015

'm looking to only trigger builds with a certain commit text through the "Exclude changesets" option. However, it doesn't look like Bamboo supports negative regular expressions. Is this the case?

My regex is ^(?![some-text] some other text).*\n

5 answers

0 votes
Sergey Podobry _Stellarity Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2015

Try without \n.

0 votes
Odin Odin February 10, 2015
0 votes
Sergey Podobry _Stellarity Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2015

Looks ok. Are you sure you need \n at the end?

0 votes
Odin Odin February 10, 2015

Sorry, the regex was ^(?!\[some-text\] some other text).*\n

0 votes
Sergey Podobry _Stellarity Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2015

Did you use square brackets for 'some-text'?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events