<div dir="ltr"><div><div><div>I've tried enabling the BitbucketStatusPush with:<br><br>    from buildbot.reporters.bitbucket import BitbucketStatusPush<br>    bs = BitbucketStatusPush(BITBUCKET_OATH_KEY, BITBUCKET_OATH_SECRET)<br>    c['services'].append(bs)<br><br></div>and even though I enabled an Oauth consumer in my Bitbucket account, as explained in the docs, nothing shows up in Bitbucket.<br><br></div>Twistd.log shows the confusing error:<br><br>    2017-02-16 16:03:02+0000 [-] 200: unable to upload Bitbucket status {"key": "myproject_runtests", "name": "myproject_runtests", "repository": {"links": {"self": {"href": "<a href="https://api.bitbucket.org/2.0/repositories/myproject/myproject">https://api.bitbucket.org/2.0/repositories/myproject/myproject</a>"}, "html": {"href": "<a href="https://bitbucket.org/myproject/myproject">https://bitbucket.org/myproject/myproject</a>"}, "avatar": {"href": "<a href="https://bitbucket.org/myproject/myproject/avatar/32/">https://bitbucket.org/myproject/myproject/avatar/32/</a>"}}, "type": "repository", "name": "myproject", "full_name": "myproject/myproject", "uuid": "{1e98c979-a6d6-48d5-9b59-8b6ffc130a60}"}, "url": "<a href="http://buildbot.myproject.com/#builders/1/builds/7">http://buildbot.myproject.com/#builders/1/builds/7</a>", "links": {"commit": {"href": "<a href="https://api.bitbucket.org/2.0/repositories/myproject/myproject/commit/6d0012a30f6a5d4b3f1b4a64853cd4181cceee88">https://api.bitbucket.org/2.0/repositories/myproject/myproject/commit/6d0012a30f6a5d4b3f1b4a64853cd4181cceee88</a>"}, "self": {"href": "<a href="https://api.bitbucket.org/2.0/repositories/myproject/myproject/commit/7d0139a20f5a5d4b3f1b4c64853cd4181cceee88/statuses/build/myproject_runtests">https://api.bitbucket.org/2.0/repositories/myproject/myproject/commit/7d0139a20f5a5d4b3f1b4c64853cd4181cceee88/statuses/build/myproject_runtests</a>"}}, "refname": null, "state": "SUCCESSFUL", "created_on": "2017-02-16T16:02:02.432495+00:00", "updated_on": "2017-02-16T16:03:02.232617+00:00", "type": "build", "description": ""}<br><br></div>What's going on here? Why is it "unable to upload status", but the JSON doesn't mention any error? How do I get an explanation for the upload error? Is there anyway to test this from the command line to confirm the settings are correct?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 5:51 PM, Chris Spencer <span dir="ltr"><<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I had written a custom status reporter for publishing the build results to any open pull requests linked to the build's branch.<br><br></div>After I upgraded to 0.9, this naturally stopped working, but I noticed that 0.9 now has a BitbucketStatusPush class (<a href="http://docs.buildbot.net/latest/manual/cfg-reporters.html#bitbucketstatuspush" target="_blank">http://docs.buildbot.net/<wbr>latest/manual/cfg-reporters.<wbr>html#bitbucketstatuspush</a>).<br><br></div>However, it's unclear what this does. It says status is "published to a specific commit SHA". What does that mean in terms of the Bitbucket UI? Does that status show up in any outstanding pull requests, or does it show somewhere else?<br></div>
</blockquote></div><br></div>