Hi,

I am trying to test BitbucketAuth, and am running into some problems.

I followed the instructions at:

http://docs.buildbot.net/latest/manual/cfg-www.html#authentication-plugins

and set up my Bitbucket account to authorize my Bitbucket instance.
I took my client id and client secret and put it in my master.cfg:

c['www'] = dict(port=8010,
    auth=util.BitbucketAuth("myclientid", "myclientsecret"),
    plugins=dict(waterfall_view={}, console_view={}))

>From buildbot, I was able to Log into Bitbucket,
but then it doesn't work.  After some debugging, I
found this message is coming back from Bitbucket:

{'type': 'error', 'error': {'message': 'Your credentials lack one or more
required privilege scopes.', 'detail': {'granted': ['pullrequest',
'account'], 'required': ['team']}}}

Does anyone know how to set the "team" privilege scope?

I'm not familiar with the Bitbucket UI so don't know where to set it
--
Craig
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to