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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 randomly disables plan branch builds Edited

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 Jan 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

@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 Sep 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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,926 views 0 7
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