Siva
Siva Author of Technology Medium, He loves sharing his knowledge through Technology articles. He is working in DevOps & SRE Domain.

How to trigger Jenkins job when Pull request (PR) raised ?

How to trigger Jenkins job when Pull request (PR) raised ?

In this we blog we will setup a Jenkins job which will trigger when a pull request on a github repository.

Steps

  • Pre requist, install github pull requester plugin in jenkins.
  • Configure github pull requester pluin in jenkins managment.
  • Create Jenkins job
  • Configure Jenkins job
  • Configure webhook in your github repository
  • Validate payload on github.
  • Raise PR to test the webhook.

comments powered by Disqus