I\'d like to configure bitbutcket to trigger a jenkins build.
I\'ve spent some time researching this and all the answers are from a few years ago, and have not found any
Is your Jenkins URL accessible from your bitbucket server? If yes that it should be fairly simple to do it. You add the webhook in your repository as http://
. When jenkins receives this POST, it automatically triggers builds on those jobs that use this git repo with that URL you give in webhook.
But you also need to make sure your Build Schedule
is set to empty for those jobs. otherwise it wont get triggered. You can specify a branch in webhook URL too
See the Push Notification from repository
here
https://wiki.jenkins.io/display/JENKINS/Git+Plugin