How to trigger a Jenkins job automatically from a GitHub PR

Jaspreet Kaur
2 min readSep 11, 2021

Two words answer is GitHub Webhook. For a detailed answer, keep reading.

In case you are not familiar with Webhooks, they are like reverse APIs where the application supporting the Webhook is sending a POST request to an endpoint with the details of the event in the payload. I recommend watching some YouTube videos about Webhooks if you are not familiar with them.

Now, coming back to the topic of the post, GitHub Webhook sends a notification to an external…

--

--