pull request still has link to a bad build of a build plan that does not exist anymore

There once was a build plan, and a build failed in it. (which was expected)

I destroyed that build plan, and created a new branch build plan under a different parent build plan.

That build was green.

But, the pull request in stash, will not enable the merge button cause it still has a link to a bad build.

(and a link to the new green successful build)

Is Stash saving bamboo build results? I would have thought that the Stash Pull request page would be grabbing Bamboo's build results on the fly.

How do I tell Stash, to get some fresh results from Bamboo?

 

2 answers

1 accepted

1 vote
Accepted answer
Roger Barnes Atlassian Team Sep 21, 2015

Hi Guy,

Stash receives build results as they happen and they are grouped by a build-key (the latest result is taken to be the one applied for merge checks). It sounds like your new build plan has a different identifier.

There are a few options available:

thanks Roger,
True, the new build plan has a wholly different build plan ID.
To work around this issue we've done what your 3rd bullet item suggest: manually merging locally, then pushing to the remote. Then the pull request magically disappears.


That link about using REST and JSON object looks interesting. I will try that the next time this situation comes up, which will be often.  Actually, I tried it last night as the problem occurred again. It worked. Very slick.


Thanks for the quick and accurate reply.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

427 views 6 9
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