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
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
I'm using a Maven plugin (jgitflow) via Bamboo that creates a 'release' branch only if a 'release' branch doesn't already exist. After deleting the previous 'release' branch, I try to run the plugin again to create the 'release' branch but get the following error:
"Error starting release: Error starting release: a release branch [refs/remotes/origin/release/1.0.0] already exists. Finish that first!"
The 'release' branch mentioned above was deleted, but the Bamboo git cache makes Bamboo think it still exists. Is there a way to update the git cache automatically?
The instructions to remove the git cache can be found in Git cache removal in Bamboo. In general this requires a restart so if you were to script this you would need to restart Bamboo.
In the latest Bamboo versions (5.x) there is a user interface feature (Overview > Repository Settings) that allows you to clean the Git cache without requiring a shut down of the application.
I would definitely recommend adding a Suggestion to JAC for this feature. If you do so please add the link to the ticket here so the community can vote on it!