Class BitbucketWebhookHandler

  • All Implemented Interfaces:

    public class BitbucketWebhookHandler
    extends Object
    implements WebhookHandler
    The following assumptions is made while handling webhooks, 1. A single webhook will be used for all events 2. Input name and url is unique across all jenkins instance and will not shared by any system. Difference in URL only is treated as a separate webook and will not be updated nor deleted. Webhook handling is done in following ways, 1. If there are no webhooks in the system, a new webhook is registered 2. Existing webhook is modified to reflect correct properties of webhooks.