Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jenkins build not getting trigger for github push

Currently trying to automate the job build process to every github push. I have did the following steps to automate still it's not getting automated. what I am missing I did not get.

  1. installed Github Integration plugin

  2. in github for this repository integration added the service webhook url as http://{IP Address}:{PORT}/github-webhook

  3. in Jenkins server created ssh key for the user jenkins and added that into this repository deploy keys.

  4. to check the ssh connection ran the command - ssh [email protected]. it successful.

  5. in jenkins setup enter image description here

  6. Build Trigger enter image description here

  7. after the push in github services it showing it was successful but in jenkins not triggered.

What am I missing?

like image 385
Pranavadurai Avatar asked Oct 24 '25 10:10

Pranavadurai


1 Answers

Have you tried running "Test Hook"? Did it come back with a response?

There is a check box near the bottom of the authentication section labeled “Prevent Cross Site Request Forgery exploits” that needs to be unchecked in order for this particular method to work.

It looks like this

like image 61
Arun.D Avatar answered Oct 26 '25 01:10

Arun.D