Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

1 vote
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 16, 2019 • edited Jan 21, 2019

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
AUG Leaders

Atlassian Community Events