How does a Stash Pull Request identify relevant builds?

I have a Stash repository set up to require a successful build before it allows a merge.

Currently, I have a Pull Request that doesn't seem to know that there are Bamboo builds out there for the code in questions.

How does Stash determine which builds are relevant?

1 answer

1 accepted

Hi Dan,

When Bamboo completes a build it forwards any configured/connected Stash instances information about the build along with the latest commit. This information is then attached to the commits, and when viewing the pull request the latest commit determines what the build status is. That may include statuses from multilple builds, although only the most recent status is relevant for each one.

Are you seeing the build icons in your normal commit list?

https://confluence.atlassian.com/display/STASH/Bamboo+integration

Make sure you have configured Stash in your Bamboo builds:

https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+Stash

Let me know if that doesn't work. If you get stuck I would recommend creating a support ticket with your Stash and Bamboo logs, but hopefully the problem is just missing configuration.

Cheers,

Charles

We are hoping to improve the current Stash/Bamboo integration, and you may be interested in the following:

https://jira.atlassian.com/browse/BAM-11409

I reread your answer - looking at Stash again, I noticed that build icons are not appearing the the commit list of my repo. I'll investigate further and report back.

Thanks Charles,

We've had links between our apps working for a long time now, so I don't think it's that. Also, we've had build statuses appearing on pull requests for our other repos for months.

I'll open up a support ticket and see where we get to.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
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,096 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot