Re: Check for timeout plugin

2010-07-18 Thread Niklas Gustavsson
On Sat, Jul 17, 2010 at 9:28 AM, Jan Matèrne wrote: > I committed the script there. Thanks! Not sure that's the best place but it will work for now. I've updated the script slightly: * Set fail build to false * Force timeout to be an int, ran into problems in the Apache Hudson environment otherwi

AW: Check for timeout plugin

2010-07-17 Thread Jan Matèrne
I committed the script there. Jan > Should I put the script into svn? > I thought of > https://svn.apache.org/repos/private/committers > under > tools/hudson/set-timeout.groovy

AW: Check for timeout plugin

2010-07-16 Thread Jan Matèrne
s@apache.org > Betreff: AW: Check for timeout plugin > > Updated, last version online: > http://janmaterne.wordpress.com/2010/07/11/how-to-check-if-all-hudson- > jobs-h > ave-a-timeout/ > > > Jan > > > -Ursprüngliche Nachricht- > > Von: Niklas Gustavsso

AW: Check for timeout plugin

2010-07-14 Thread Jan Matèrne
rg > Betreff: Re: Check for timeout plugin > > On Tue, Jul 13, 2010 at 5:02 PM, Jan Matèrne wrote: > > Sadly created html markup is masked by the console, so I'll produce a > text > > based table: > > http://janmaterne.wordpress.com/2010/07/13/hudson-overview-of-th

Re: Check for timeout plugin

2010-07-13 Thread Niklas Gustavsson
On Tue, Jul 13, 2010 at 7:27 PM, Niklas Gustavsson wrote: > Great stuff! I took your code and tweaked it a bit btw, here's the code I used: http://gist.github.com/474207 /niklas

Re: Check for timeout plugin

2010-07-13 Thread Niklas Gustavsson
On Tue, Jul 13, 2010 at 5:02 PM, Jan Matèrne wrote: > Sadly created html markup is masked by the console, so I'll produce a text > based table: > http://janmaterne.wordpress.com/2010/07/13/hudson-overview-of-the-suggestd-t > imeout-settings/ Great stuff! I took your code and tweaked it a bit (I'm

AW: Check for timeout plugin

2010-07-13 Thread Jan Matèrne
Sadly created html markup is masked by the console, so I'll produce a text based table: http://janmaterne.wordpress.com/2010/07/13/hudson-overview-of-the-suggestd-t imeout-settings/ Jan p.s. I should add a timeout on "my" jobs ;-) > > I think it should be better to put a timeout which is relat

Re: Check for timeout plugin

2010-07-13 Thread Niklas Gustavsson
On Tue, Jul 13, 2010 at 9:17 AM, Manuel Carrasco Moñino wrote: > I think it should be better to put a timeout which is related with the > estimated duration of the job, because a default value of 180 minutes > is too large. > > I have drop a comment at > http://janmaterne.wordpress.com/2010/07/11/

AW: Check for timeout plugin

2010-07-13 Thread Jan Matèrne
Thanks, I wasnt aware of "job.estimatedDuration". Jan > -Ursprüngliche Nachricht- > Von: manuel.carrasc...@gmail.com [mailto:manuel.carrasc...@gmail.com] Im > Auftrag von Manuel Carrasco Moñino > Gesendet: Dienstag, 13. Juli 2010 09:17 > An: builds@apache.org

Re: Check for timeout plugin

2010-07-13 Thread Manuel Carrasco Moñino
Hello, I think it should be better to put a timeout which is related with the estimated duration of the job, because a default value of 180 minutes is too large. I have drop a comment at http://janmaterne.wordpress.com/2010/07/11/how-to-check-if-all-hudson-jobs-have-a-timeout/#comment-1206 Che

AW: Check for timeout plugin

2010-07-12 Thread Jan Matèrne
> On 07/12/2010 09:45 PM, Antoine Toulme wrote: > > 2. We can create a plugin that presets the timeout field. > > Probably best done as a part of > > http://wiki.hudson-ci.org/display/HUDSON/Create+Job+Advanced+Plugin If I see this right, it will only affect new jobs, not existing one. So I work

Re: Check for timeout plugin

2010-07-12 Thread Jesse Glick
On 07/12/2010 09:45 PM, Antoine Toulme wrote: 2. We can create a plugin that presets the timeout field. Probably best done as a part of http://wiki.hudson-ci.org/display/HUDSON/Create+Job+Advanced+Plugin

Re: Check for timeout plugin

2010-07-12 Thread Antoine Toulme
>From what Kohsuke says on IRC: 1. We cannot make the timeout field mandatory. 2. We can create a plugin that presets the timeout field. 3. We can iterate over the projects like Jan did and set a value for the timeouts en masse. On Mon, Jul 12, 2010 at 18:27, Antoine Toulme wrote: > +1 > > Is t

Re: Check for timeout plugin

2010-07-12 Thread Antoine Toulme
+1 Is there a way to enforce setting a timeout ? I'll ask #hudson. Thanks, Antoine On Mon, Jul 12, 2010 at 13:19, Niklas Gustavsson wrote: > On Sun, Jul 11, 2010 at 3:24 PM, Jan Matèrne wrote: > > Should every job have a timeout? > > I think they should. > > /niklas >

Re: Check for timeout plugin

2010-07-12 Thread Niklas Gustavsson
On Sun, Jul 11, 2010 at 3:24 PM, Jan Matèrne wrote: > Should every job have a timeout? I think they should. /niklas

Re: Check for timeout plugin

2010-07-11 Thread sebb
On 11 July 2010 14:24, Jan Matèrne wrote: > I played [1] a little bit in Groovy for getting a list of all projects > without timeout settings. > Running that script on Hudson it gives me 186 hits. Does it take the "fail" sub-option into account? If this is selected, then the job is not terminated

Check for timeout plugin

2010-07-11 Thread Jan Matèrne
I played [1] a little bit in Groovy for getting a list of all projects without timeout settings. Running that script on Hudson it gives me 186 hits. Should every job have a timeout? Jan [1] http://janmaterne.wordpress.com/2010/07/11/how-to-check-if-all-hudson-jobs-h ave-a-timeout/