mohamicorp / stash-jenkins-postreceive-webhook

Webhook used to notify Jenkins when commits are made to Stash
Other
138 stars 100 forks source link

Support notifications for the Bitbucket Branch Source Plugin #171

Open mkobit opened 8 years ago

mkobit commented 8 years ago

The Bitbucket Branch Source Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Branch+Source+Plugin) is a CloudBees produced plugin that is useful when using Jenkins pipelines. It supports jobs for each branch and PR. It does not appear that the auto-generated jobs are able to be notified of changes when using this hook on Bitbucket Server, though. I would like this Bitbucket Server hook to support branch source from that plugin.

There is an open issue at JENKINS-33507 discussing the Jenkins side of supporting this, such as auto-registration of webhook and other things.

mkobit commented 7 years ago

As mentioned in the linked issue, the required plugin for Bitbucket Branch Source to work on Bitbucket server is https://marketplace.atlassian.com/plugins/nl.topicus.bitbucket.bitbucket-webhooks/server/overview