Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Bamboo: can the automatic branch cleanup schedule be configured?

Automatic branch cleanup has not been working on our Bamboo instance. It occurred to me that because our instance runs on EC2, and we shut it down at night to reduced costs, maybe the cleanup job was simply not running. I let the instance run overnight and sure enough, at 3am, dozens of branches were cleaned up. I would like to schedule the branch cleanup to occur during the day, but I can't find anywhere to configure the schedule. I have changed the Expiry schedule to occur during the day but that does not seem to affect the branch cleanup schedule. Is it possible to configure the branch cleanup schedule?

We're running Bamboo 6.10.3


1 answer

1 accepted


I added this property to JVM_SUPPORT_RECOMMENDED_ARGS in bin/ and it worked perfectly. Thank you very much.


: ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Duser.timezone=America/New_York -Dbamboo.branch.expiry.schedule="20:00""}

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

52 views 0 3
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