We need a bit of guidance in creating a post commit webhook from bitbucket to trigger builds on ci tools . There are multiple ci tools such as teamcity ,Jenkins etc according to project setup.so we are trying to make a very generalized post commit webhook.
Just to explain the scenario:
---dev commits and pushes the code to bitbucket repo
---the post webhook will send the trigger event to ci tool(it can be any tool teamcity ,Jenkins,go etc)
--- once we get something on this , then we will script the trigger for other events as well such as pull requests, merges etc