Create a Dockerfile
And push the Dockerfile to a separate Repository
Enter youre repo name (separate repo we created for jenkins-pipeline)
Copy the API token and paste this into the GitHub webhook. secret field
This is the link we paste in Jenkins script
woohoo we successfully triggered the Jenkins, by committing a new change in the Dockerfile via GitHub
happy learning!!