bitbucket-pullrequest-builder-plugin icon indicating copy to clipboard operation
bitbucket-pullrequest-builder-plugin copied to clipboard

Top Level Throttling Issue

Open CodeMonk opened this issue 5 years ago • 2 comments

We have many issues currently with the way atlassian is throttling their bitbucket access. This is generally observed at one important time:

apiClient - getPullRequests - which grabs all PRs from bitbucket, and checks for things that need to be built.

We either need to move this to a trigger, or figure out how to walk them more efficiently.

I'm going to duplicate all the throttling issues to this one, so that we can work on a fix here.

PLEASE let me know what, if any, solution you think is best, or we'll just try to come up with something.

CodeMonk avatar Oct 08 '18 19:10 CodeMonk

How about using the Bitbucket WebHook? https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html

The only downside of this approach is that you have to expose Jenkins server to the public (so the callback can work) and additionally setup the Bitbucket for webhook to work. There is already a plugin which integrates with Bitbucket Webhook but the functionality is quite limited (only trigger build on any push)

phantasia15 avatar Oct 10 '18 10:10 phantasia15

@phantasia15 That's the plan

CodeMonk avatar Oct 10 '18 16:10 CodeMonk