How does plan branches interact with "keep X builds"?

I'm looking into cleaning up some older artifacts to make the virtual instance easier to manage and to avoid having to expand hard drive space. The natural solution is to set up automatic deletion of artifacts after a certain time but always keep the X latest ones. The problem is that I'm not sure how this interacts with the different branches in the plan.

If I set it to keep 30 builds, will it keep 30 in trunk and 30 in each branch or will it keep the most recent 30 builds regardless of what branch they belong to? Optimally I would want to always keep branched builds forever as these are the ones that I have deployed in production at various times.

1 answer

1 accepted

2 votes

It's 30 builds for each branch. Also, you can prevent Bamboo from deleting selected results by labeling them and configuring that label in Build Expiry options.

Last not least: if you want branch results to be kept forever, make sure they will not be deleted by automatic branch management, as it deletes entire branches, complete with all their results. Simply turn off (or don't turn on) the option if all your branches are like this. Alternatively, in Branch Details there's an option to exclude a branch from automatic management.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,575 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you