bitbucket-pullrequest-builder-plugin
bitbucket-pullrequest-builder-plugin copied to clipboard
Top Level Throttling Issue
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.
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 That's the plan