I am using Jenkins for automated integrations and deployments. I would like the build to take place after every commit to the master branch.
So I post-commit webhook, or a post receive trigger highlighted here and here and here.
So:
curl http://yourserver/jenkins/git/notifyCommit?url=<URL of the Git repository>
I am using an independent git server (So not github or bitbucket) and I would like to create this webhook / trigger.
Any ideas on how to do this?