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

After a git branch is deleted, does the Bamboo git cache get removed?

Jonathan DelRosario Jun 09, 2017

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?

1 answer

0 votes
Branden McElveen Atlassian Team Jul 12, 2017

Hi Jonathan,

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!

Cheers,

Branden

Jeff Crawford Dec 01, 2017

To vote for this feature:  https://jira.atlassian.com/browse/BAM-15012

Branden McElveen Atlassian Team Dec 01, 2017

Hi Jeff,

Thanks for posting a link to the Suggestion request!

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Statuspage

⭐️Would you recommend Statuspage? Leave a (honest!) review. ⭐️

Hi Community friends, We're working on sourcing more reviews on Capterra – a popular software review site –  to help teams like yours make more informed decisions when choosing an inc...

46 views 2 3
Join discussion

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