Re: jenkins and git repository monitoring

Wichert Akkerman <[email protected]> Sat, 04 Feb 2012 11:25:28 +0100
Newsgroups gmane.comp.web.zope.plone.devel,gmane.comp.web.zope.plone.website
Message-ID <[email protected]>
On 2012-2-3 23:07, William Deegan wrote:
> All,
> On Nov 20, 2011, at 7:59 AM, Patrick Gerken wrote:
>
>> On Sun, Nov 20, 2011 at 15:51, Timo Stollenwerk<[email protected]>  wrote:
>>> Hi Patrick,
>>>
>>> I'm not sure if polling github is really what we want for CI (the
>>> ScriptTrigger plugin does poll after all if I understand it correctly).
>>> Polling works fine for smaller projects, but I don't think it does
>>> really scale for a project like Plone. With a large number of jobs
>>> polling this is a waste of network resources and we don't really get
>>> atomic commits (which is not really CI then).
>>
>> Yes, it's really slow, right now it takes 20 minutes. We are polling
>> github and svn right now, and the git plugin is too stupid to work
>> with multiple checkouts reliably, and believes every time something
>> has changed.
>>
>> My idea would be a small improvement of the current situation, while
>> yours below certainly is better, but it needs to be done.
>> I'd love to join the efforts, but right now I can't even keep up with
>> mail traffic :-(
>
> Was wondering what's the current status on this.
> Apparently github has a API which would allow us to walk all the plone repos and set the hook programmatically
> http://developer.github.com/v3/repos/hooks/

Why not simply install 
https://wiki.jenkins-ci.org/display/JENKINS/Github+Plugin in your Jenkins?

Wichert.

-- 
Wichert Akkerman <[email protected]>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2