Create
cancel
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 deletes a branch even though it is getting build.

I have a plan where branches gets created automatically as per the rule "When new branch in repository is created", and deletion as per the rule "After branch inactivity in repository".

I have given 1 day time to the deletion rule "After branch inactivity in repository".

Now my schedule trigger of all the branches happens every day at 12:00 AM.

I have observed that few of the branches are not run completely and gets deleted while they are getting build.

Say for example there is a Branch B1 which is in the list of branches and i see that gets picked up as well at 12:00AM to run the build, i received the custom mails during the building of the B1 but i don't the custom mail which comes to the stakeholders post successful/failure of the build.

I understand that because of the deletion "After branch inactivity in repository" set to 1 day bamboo is deleting the branch while B1 is getting build.

Is there a way that i can say bamboo not to delete if the branch is running but eligible for deletion?

1 answer

0 votes

Hi Niharbabu,

I'm afraid not. That is one of the reasons Bamboo have the "After branch inactivity in repository" parameter in the "Delete plan branch" configuration, to give you some time to check the results before the branch is deleted.

thanks

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
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