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

branch plan automatic creation failed

Monizze IT March 26, 2019

Hello,

I have configured a build plan for bamboo using bitbucket server. It's working. When a I add branch manually, it's OK too.

But, even if the configuration is on "When new branch in repository is created" (in plan > branch configuration) and I wait more than the double of "Branch detection interval" (it's default: 300 seconds) the plan branch is not created.

Even after a while if I commit something new, nothing change.

Did I miss something?

Is there a way to debug it?

1 answer

1 vote
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2019

Hi @Monizze IT

Usually, this type of problem is caused by issues involving application links preventing events from Bitbucket to be fired against Bamboo.

If the links are properly configured you should be able to see the following messages in your <Bamboo_Home>/logs/atlassian-bamboo.log right after the branch is created on Bitbucket side:

2019-03-28 10:13:50,666 INFO [http-nio-8085-exec-21] [AccessLogFilter] 127.0.0.1 POST http://<BAMBOO_URL>/rest/remote-event-consumer/latest/events/stash-branch-created-remote-event 385308kb
2019-03-28 10:13:50,668 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [BranchCreatedEventListener] Received stash branch creation event [ my-repo, my-branch]

Try to search for stash-branch-created-remote-event. You should be able to find POST messages from Bitbucket to Bamboo.

If you don't find them, recreate the application links and try again.

If the problem persists we might need to create a support ticket to dig dipper on this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events