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:
- Create Jenkins job for build trigger
- Config the setup on that particular job
- Source Code Management management selected Git and updated Repository URL which I got from GitHub project code and have updated
https
Git URL
- updated the GitHub credentials
- Build trigger option
- I have selected Build when a change is pushed to GitHub
- then GitHub have update the webhook from setting
- I have added the webhook URL like http://ABCDEFGH123:8080/github-webhook/
- and selected
Content 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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…