Run additional builds upon Pull Request update

I am not sure if I am being thick but not quite sure how to configure Bamboo (or Bitbucket Server) to run another branch build when a pull request is updated with additional commits.

I have setup a Plan with Brach Plans that are automatically created by new Pull Requests. I have also configured Bitbucket Server trigger on the plan.

Currently only a single build is done on the pull request when it is created. I would like additional builds to occur as Bitbucket detects new incoming commits and let the auto-generated pull request branch plan know so it can run another build.

Is this possible?

 

1 answer

1 vote

Hello @Sohrab Hosseini,

Can you please explain your Bamboo - Bitbucket Server configuration and what do you mean by configuring "Bitbucket server trigger on the plan"?

When you use option to create plan branch when PR created Screen Shot 2017-07-20 at 12.22.08.pngBamboo automatically creates plan branch linked to that PR. As I understand you already have this configuration.

Then when you make a commit to the same branch Bamboo should build that branch as usual. If it doesn't happen please check your Trigger configuration, it should be like this:

Screen Shot 2017-07-20 at 12.24.10.png

Hi @Alexey Chystoprudov

I am not sure what happened but after deleting and re-creating the plan a few times, it seems to now have worked without any modifications. I did not see any useful logs in either servers to indicate what the problem was early on.

Out of interest, why do you have more options in your screenshot than I do, on Trigger conditions:

Screen Shot 2017-07-20 at 9.53.57 pm.pngI am using Bamboo 6.0.1 and Bitbucket Server 5.0.1.

We have few internal plugins to add trigger conditions, they're not production ready yet

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,568 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you