Creating and Using Jenkins Webhooks from Github

22 Jul 2023 - rich

Webhook is an http “callback”. When some event occurs, in our case in Github, an event notification occurs alerting Jenkins of the change and most probably triggering a pipeline job.

Some lingering questions you may have:

  1. What if I have several repositories and I want to trigger a Jenkins job for each one.

    this isn’t a problem but most documentation out there uses the example involving ngrok.io - one example, replicated time and time again without much testing or embellishment.

    but how does Jenkins handle each of the webhooks?