Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,316
Community Members
 
Community Events
165
Community Groups

Check Crucible review state from Bamboo

I am interested in using the "plan branch" functionality in Bamboo in order to automatically, build, test and merge feature branches back into a Master branch.

Before merging the feature branch back into the Master branch, I would like Bamboo to check that the Crucible code review associated with that branch has been completed. Is there an easy way to do this in Bamboo?

1 answer

Hi Chris,

The configuration you want would require a feature that should trigger a Bamboo build based on an event coming from a Crucible code review completion. Crucible is not capable of doing this out of the box. We have an old post about this that is still valid: Crucible - Upon Review Completion.

Bamboo can be easily configured to merge feature branches to master on every commit that have a successful build, but that won't consider any code review. More details about the plan branch merging strategy can be found here: Using plan branches - Atlassian Documentation (at Automatic branch merging section).

I was thinking on a possible approach using a cron job to check Crucible reviews through REST API and trigger a Bamboo build, but I think that deciding what build to trigger via this approach would be another challenge.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

909 views 3 8
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