Github web hook not working with Pipeline

857 views
Skip to first unread message

Cris Lacumba

unread,
Jul 14, 2016, 5:53:49 AM7/14/16
to Jenkins Users
Hi,

The Github web hook not working with Pipeline.
I have tried with the free style job and it works perfectly. Git has to be configured as a origin source code.

However, with the Pipeline is not working. I get following message in webhooks: Last GitHub Push - Polling has not run yet.


I am using Jenkins 2.7.1.

Is there some solution?

Thanks in advance

Regards

Kamil Grabowski

unread,
Sep 6, 2016, 9:48:31 AM9/6/16
to Jenkins Users
I had the same problem and resolved it in that way:

1. Create a new pipeline project as before. I don't know why but jenkins doesn't create a webhook at this step. Maybe it need to have cloned git repository.

2. Run a new build manually (Build with parameters)  <- it will pull (git pull) the repo with your Jenkinsfile

3. Open the project configuration and click "save". At this moment jenkins will create a webhook for github project you use. 

and after that it works.




Reply all
Reply to author
Forward
0 new messages