You can use the git hooks: - https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin (section Push notification from repository)
KK already posted the below post: - http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/ If you use github then use the webhooks configuration,. Cheers On Tuesday, 3 November 2015 15:17:06 UTC+1, Suryateja Hanumandla wrote: > > Hi, > Currently I'm doing with git poll, where I'm doing poll for every 2 mins. > Is there any possibility instead of git poll mechanism in jenkins, because > every now and then we need to poll the repo and check. > > Thanks, > Surya. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1207e00e-15e5-4980-a811-0e18fdf3dc83%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
