There appears to be no way in the web UI to set up webhooks for other events. And so we go to the API.
- You can use the github-pull-request plugin on DEV@cloud/jenkins to set this up for you - but some people prefer not to hand over the "keys to the kinddom".
- POST to https://api.github.com/repos/:username/:repo/hooks the following type of data:
{