Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
  • Community
  • Products
  • Bamboo
  • Questions
  • How do people retain bamboo builds which have gone into production, without them being caught up in the bamboo retention policy to make effective use of disk capacity on the bamboo server?

How do people retain bamboo builds which have gone into production, without them being caught up in the bamboo retention policy to make effective use of disk capacity on the bamboo server?

Bedelia Wolverton-Kettrick December 23, 2016

When using the global expiry policy in bamboo to make effective use of storage capacity on the bamboo server. We would use labels to indicate a build to be preserved. We have a concern that the labels however could be deleted without our prior knowledge, leading to a build which is in production being expired and removed.

Has anyone found a way to restrict deletion of labels once applied to perhaps a group of administrators to mitigate the risk of build being expired incorrectly due to deleted labels?

Many Thanks

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 27, 2016

One of the approach to track build results used for release is Deployments feature. User links build result to named release and configure expiry to skip such builds. If you don't use Deployments feature you can use this approach instead of labels.

https://confluence.atlassian.com/bamboo/deployment-projects-338363438.html

 

Bedelia Wolverton-Kettrick December 28, 2016

We do use deployment projects, but I'm unsure how you can configure the expiry to skip such builds without using labels, can you elaborate please Alexey?

 

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 28, 2016
Bedelia Wolverton-Kettrick January 17, 2017

Thanks Alexey,

My concern is that the label could potentially at a later date be deleted accidentally or maliciously.

Then when the expiry policy executes it's rules the build will be expired as it no longer has the label. 

Has anyone found a way to mitigate this risk?

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events