There are no items in your cart
Add More
Add More
Item Details | Price |
---|
Learn how to integrate webhook with local Jenkins using ngrok
It is not possible to add a webhook for the Jenkins running on local host as it doesn’t have a public URL exposed over internet. To resolve this issue we can use a tool like ngrok which will expose the local server to the public internet.
What is ngrok?
ngrok exposes local servers behind NATs and firewalls to the public internet over secure tunnels. It connects to the ngrok cloud service which accepts traffic on a public address and relays that traffic through to the ngrok process running on your machine and then on to the local address you specified.
Usage:
How to setup ngrok on Windows?
Generate Public URL for your local server
Public URLs for your local server are displayed:–
Similarly, you can expose any local server to public internet.
To add a webhook for Jenkins, copy any of the url and paste in the Webhooks -> Payload URL for your Github repository as explained in the previous post.
Bijan Patel
Full Stack Test Automation Expert | Selenium Framework Developer | Certified Tosca Automation Specialist | Postman | DevOps | AWS | IC Agile Certified | Trainer | Youtuber | Blogger|