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 votes
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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

631 views 0 4
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