...
Create a webhook at https://github.com/ACCOUNT/REPOSITORY/settings/hooks/. You can use this configuration for reference:
You will have to create a secret manually. Note it down as it is required to be entered into Jenkins.
In Jenkins, navigate to the general "Configure System" page (like http://jenkins.mxnet-ci-dev.amazon-ml.com/configure). You might be tempted to navigate to "GitHub Pull Request Builder" which looks like this, but this is not the one we are looking for! The shared secret here is something different and might cost you a few hours to figure out!
Expand | ||
---|---|---|
| ||
Instead, navigate to the tab called "GitHub". It looks like follows:
Click on "Advanced..." and you will see the following:
On "Shared Secret", press "Add". A new window will open up. In the "Kind" dropdown, select "Secret text". Then input something like the following and insert the previously noted down secret:
Now go back to the GitHub webhook and press "Redeliver":