Setting Github Webhook for local
1. Go to your Mac Terminal and type cd~
2. Enter below command to the terminal
echo "api_key: j1wFrR1xdFIxApFnyD6W2f5LbV3d0cL8" > ~/.ultrahook
3. Enter below command to install ultrabook to your machine.
$gem install ultrahook
4.Type below command
$echo "api_key: ‘mysupersecretkey" > ~/.ultrahook
5. mysupersecretkey - it will be given once you sign up
6.Type below command
$ultrahook github
https://10.2.2.2:8443/oapi/v1/namespaces/webhook/buildconfigs/mlbparks/webhooks/UhcUH5Em/github
This is the github webhook url configured in OpenShift build configuration