Trigger Jenkins Jobs ONLY when Pull Requests are made to SPECIFIC GitHub branches

Capture the Webhook sent by GitHub, manipulate it and send a POST request to Jenkins.

Source: https://www.linkedin.com/pulse/githubjenkinsdocker-adv-task-rohit-ghumare/
POST Methos
Image 1.0
Methods to get the values for lines 6–9
Image 1.1
Image 2.0

--

--

Student of Computer Science & the Humanities. http://rahulsam.me/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store