You are required to create Webhooks on GitHub in order to trigger a pipeline in Jenkins. Also, for the GitHub Webhooks to work, it is important that the Jenkins server is accessible over the internet.
While practicing the examples described in this book, you may feel a need to make your Jenkins server accessible over the internet, which is installed in your sandbox environment.
In the following section, we will use a tool named ngrok to achieve this feat. Perform the following steps to make your Jenkins server accessible over the internet:
- Log in to the Jenkins server machine (standalone Windows/Linux machine). If you are running Jenkins using Docker, log in to your Docker host machine (most probably, Linux).
- Download the ngrok application from https://ngrok.com/download.
- What you download is a ZIP...