Read [1], and you'll understand why ;) [1] http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/ Vincent
2013/7/18 Costin Caraivan <[email protected]>: > Very, very strange. Why doesn't it just POST http://jenkins/job/myjob/build? > :-? > _____________ > Costin Caraivan > > > On Thu, Jul 18, 2013 at 1:04 PM, Vincent Latombe > <[email protected]> wrote: >> Hi >> >> The git hook actually triggers the polling, not directly a build. >> >> Vincent >> >> >> 2013/7/18 Costin Caraivan <[email protected]>: >>> Hello, >>> >>> We're trying to reconfigure our Jenkins instance (Jenkins ver. 1.522, >>> Linux master) to use Git hooks instead of Git polling. >>> >>> We've configured the Github repo to trigger our builds, but there's >>> this note that seems kind of... strange in the Github configuration: >>> >>> Requires Git Plugin v1.1.18, released 2012-04-27, and the "Poll SCM" >>> build trigger needs to be __enabled__. (Though you can have it poll >>> very infrequently, I recommend something like 0 */3 * * *) >>> >>> Does anyone know why both polling AND the Git hook need to be enabled? >>> This seems redundant. >>> >>> Has anyone configured the service hooks only, without enabling Git >>> polling? Does it work correctly/reliably? >>> >>> Thank you, >>> _____________ >>> Costin Caraivan >>> >>> -- >>> 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]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >> >> -- >> 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]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
