Currently you cannot setup a webhook with Bitbucket Server, even though you have support for Bitbucket.org, which creates an issue when trying to get builds to trigger after a push to a repository.
Original request: https://github.com/bitrise-io/bitrise.io/issues/50
Adding support to Bitbucket Server can be contributed to our open source Webhook processor: https://github.com/bitrise-io/bitrise-webhooks
Once added (and accepted) there, it will just work.
If anyone have the time to implement it, we’d be glad to review & merge it, the
README of the repository should cover every step required for developing the change, and you can even run your own version of the webhook server.
Right now we don’t have access to a Bitbucket Server instance, but if anyone can help us, either by letting us use one or to test a couple of things with us, we can also schedule to work on this.