-
Notifications
You must be signed in to change notification settings - Fork 8
Tips and tricks
Tim Dudgeon edited this page May 18, 2017
·
2 revisions
How to trigger a build when a commit is made to github: (note: this is partly black magic - some steps may be missing)
- Go to the repo on GitHub and edit the settings
- Find the "Integrations & services" section
- Add a service and choose "Jenkins (GitHub plugin)"
- Configure the hook URL. It will likely need to be https://jenkins.openrisknet.org/github-webhook/
In Jenkins to check whether the events are being received:
- Go to the job of concern
- Look at the "Repository Events" section and you should see a new event when a commit is made to GitHub
An example can be found here.