Hi Community,
We are using BitBucket cloud service to host all our Git repositories.
I would like to enforce some rule on each commit for some repositories. Technically I want to apply a Git commit hook on server side to valid any incoming push and allow/reject it by a bunch of checks.
On BitBucket cloud I can only find the configuration of Webhooks. From the documentation I was not able to clarify my following questions:
- The Webhook sends an HTTP POST request to remote server, is the response evaluated and has it impact on the incoming Git push? Or is it fire and forget?
- Is it possible to achive commit hooks by using the Webhook functionality?
Thanks a lot, Roman