Jenkins internal working

869 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

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/