You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
Thanks
Try to use this system property https://docs.atlassian.com/atlassian-bamboo/6.10.3/com/atlassian/bamboo/utils/SystemProperty.html#BRANCH_EXPIRY_SCHEDULED_TIME
Hi,
I added this property to JVM_SUPPORT_RECOMMENDED_ARGS in bin/setenv.sh and it worked perfectly. Thank you very much.
: ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Duser.timezone=America/New_York -Dbamboo.branch.expiry.schedule="20:00""}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.