Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo randomly disables plan branch builds

Venkat November 20, 2018

When working with plan branches, bamboo randomly disables the builds which are triggered when creating a pull request. This slows the review process significantly down, as these builds are required to a pullmerge requests in our projects

Steps to reproduce:

  • work with plan branches 
  • bamboo randomly disables plan branch builds

Expected Result:

  • Plan branch builds work as they did before 

Actual Result:

  • Plan branches are disabled so they won't be triggered in pull requests

Additional info: _(hints, App screenshots, logs,...)

 

Team - Please suggest on above mentioned issue at the earliest.

            we did not see anything in the agent logs where build is running.

 

Hi Team - Any suggestions or inputs on this?

1 answer

0 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2019

If the following SQL return a result with a date in DETECTED_DELETION_DATE, it means that the branch was deleted previously and recreate in Bitbucket again:

SELECT * FROM vcs_branch WHERE NAME='<branch_name>';

By default, DETECTED_DELETION_DATE should be NULL if the branch isn't deleted.

Use the following steps to set it back to NULL:

  1. Shutdown Bamboo
  2. Backup database for rollback purposes
  3. Run the following SQL:
    UPDATE vcs_branch SET DETECTED_DELETION_DATE=NULL WHERE NAME='<branch_name>';
  4. Restart Bamboo
Igor Piskunov March 27, 2020

@Foong and what if the branch wasn't deleted? We're facing this issue in our team with absolutely new branches. As @Venkat already mentioned, it's happening randomly. I believe they're facing the same problem as we're.

It sounds like not an option to edit the database each time when the issue is happening.

Kindest Regards, 
Igor

Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2020

Bamboo will only set DETECTED_DELETION_DATE data in the database when it has detected the branch deletion. 

You can create a Support Ticket at https://support.atlassian.com/contact/ if you want Support Team to check when the branch is deleted last time.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events