Webhook
Obtaining Bitbucket Repository Events in Real Time via the generic-webhook-trigger Plugin
This article describes how to use Jenkins’ generic-webhook-trigger plugin to obtain real-time event information from a Bitbucket repository, such as the Pull Request ID.