Jenkins build triggers
Github will notify the jenkins when some commits are pushed to remote repository.
Github webhook will work only when jenkins address is reachable from github
Jenkins will check the Github periodically for any new commits has pushed. Uses cron to define how frequent it has to check
Polling is helpful, when jenkins is not reachable from github.
Uses the cron to trigger the job periodically