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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 16 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

42 views 1 0
Join discussion

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