Reputation: 21
I am using GitHub project repository for build trigger from Jenkins.
The intention is when even code push done in GitHub repository project my Jenkins build should trigger automatically.
Steps done:
https
Git URLContent type
is application/json
While updating the webhook URL it shows the error message:
We couldn’t deliver this payload: Couldn't resolve host name
See the screenshot for reference. Please have a look. Please share the solution. Why am I unable to update the webhook URL? How to fix it?
Upvotes: 2
Views: 14151
Reputation: 2312
Couple of reasons for this to happen.
The neat little feature this provides is that it tests your connection with GitHub and provides you with the reason why it failed.
Hope this helps, took me a long time to figure this out :0
Upvotes: 3
Reputation: 1924
Either firewall is blocking or you've to check if WebHook is enabled in Github from Repository -> Settings -> WebHooks. There is a nice guide here. Use RequestBin for testing to make sure that its not a server side issue :)
Upvotes: 0