Reputation: 109
What actually happens in Jenkins when you select build automatically whenever there is a push to remote repository? How Jenkins comes to know about whether a push was made to the repository or not?
Upvotes: 0
Views: 877
Reputation: 693
If you use the git plugin it gets triggered via web hook. Here is a link that explains it better than i could: https://www.fourkitchens.com/blog/article/trigger-jenkins-builds-pushing-github/
Upvotes: 1