Bitbucket Builds allows you to integrate Jenkins with Bitbucket Server. To do this, you will need:
Jenkins with either the Git Plugin or Bitbucket Branch Source plugin installed.
The Webhook to Jenkins for Bitbucket Server app installed.
Setting up the Jenkins Instance
To have the builds show up, you must first have the administrator add the Jenkins instance credentials to the Webhook's global settings screen. To do so you must go to Administration → Jenkins Servers:
And the click Add New Instance and add your instances Jenkins credentials.
Configuring the Jenkins Hook
Once you've added your Jenkins instance, you must configure the Hook for the repository or project as normal. For instructions on how to do that, see the respective guides:
Once the hook is configured, go to the Builds page which can be found on the desired repository.You should now see the following:
Congratulations of enabling Builds for you repository.