Why is my Bamboo build server not deleting old builds?

Hi,

I've set up a continuous integration build project.  In the "Miscellaneous" tab I have checked "Clean working directory after each build".  But this apparently does not do what I thought it was supposed to, because on the file system I can see hundreds of old CI builds (under C:\Atlassian\Bamboo-home\xml-data\build-dir).  

I can go in there and manually blow away all these old builds, but this is not a long term plan.  How do I set up the build project so that all it does is verify that the solution builds and all unit tests pass, and then it can delete the working directory?

2 answers

This widget could not be displayed.

Hello Shaul,

Thank you for your question.

Please, raise a Support Request under "Bamboo administration >> Overview >> System >> Atlassian Support Tools >> Support Request" tab so we can better assist you.

Kind regards,
Rafael P. Sperafico
Atlassian Support

This widget could not be displayed.

I think that you are confusing build directory with archiving artifacts results. Build directory is the same for each build and this is called working directory. The checkbox cleans exactly that.

Now, you are talking about the past builds and their artifacts. See this link for help on setting plan data expiration.

https://confluence.atlassian.com/display/BAMBOO/Configuring+build+results+expiry+for+a+plan 

All these checkboxes are set, but it does not delete all the CI builds.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

130 views 2 0
Join discussion

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