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

Repository Commit task triggers build, explicit exclusion still triggers spec update

As part of my deploy I am updating a .version file in the repository and committing via a Repository Commit task.
The message of this commit is "AUTO: Updated release version"

According to the doco Bamboo should automatically ignore commits made via a Repository Commit task, but instead I got an infinite loop that I had to manually kill. (Due to an unrelated issue it kept appending to the release version "1.0.0_(2)_(2)_(2)_(2)_(2)_(2)_(2)...")

Next I tried setting an "Exclude changesets" pattern on the Linked Repository:Bamboo - Linked Repo - Failing exclusion.png

This was a partial success in that it didn't trigger a build, but it did trigger a plan change (my .version file is in the bamboo-specs folder)

Bamboo-changes detected.png

I presume this partial success indicates that the regex is working, but the behavious is not as I'd expect. I tried a few variations just in case, same result for each.

AUTO:.*
^AUTO:.*
^AUTO:.*$

 

Finally I tried settings an "Exclude files" pattern. Same as above - the spec configuration is updated but a build does't trigger.

Bamboo - Linked Repo - Working exclusion.png

I'm on Bamboo 7.1.1 (70117), using Java Specs from source control (via the Linked Repo)

 

Can anyone tell me if

a) The behaviour of the Repository Commit task is correct or a bug

b) The behaviour of the change detection exclusion is expected

 

I'm getting used to things not working quite right with bamboo specs, so it would be great to get another opinion on whether my expectations are wrong or if something really is behaving oddly.

 

Regards,

Franky

0 answers

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

394 views 1 6
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