Github (enterprise) service hooks and Jenkins

2013-07-18 Thread Costin Caraivan
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Github (enterprise) service hooks and Jenkins

2013-07-18 Thread Costin Caraivan
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
vincent.lato...@gmail.com wrote:
 Hi

 The git hook actually triggers the polling, not directly a build.

 Vincent


 2013/7/18 Costin Caraivan costincarai...@gmail.com:
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Github (enterprise) service hooks and Jenkins

2013-07-18 Thread Vincent Latombe
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 costincarai...@gmail.com:
 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
 vincent.lato...@gmail.com wrote:
 Hi

 The git hook actually triggers the polling, not directly a build.

 Vincent


 2013/7/18 Costin Caraivan costincarai...@gmail.com:
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Github (enterprise) service hooks and Jenkins

2013-07-18 Thread Costin Caraivan
Ok, got it, thanks!
_
Costin Caraivan


On Thu, Jul 18, 2013 at 5:19 PM, Vincent Latombe
vincent.lato...@gmail.com wrote:
 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 costincarai...@gmail.com:
 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
 vincent.lato...@gmail.com wrote:
 Hi

 The git hook actually triggers the polling, not directly a build.

 Vincent


 2013/7/18 Costin Caraivan costincarai...@gmail.com:
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.