Unschedule / mark slave temporarily offline using remote command/script

4 messages Options
Embed this post
Permalink
Anderson Fredrik (fa)

Unschedule / mark slave temporarily offline using remote command/script

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Daytime we want to use only one Hudson build computer, ie the master. However nightly we could add a slave computer.
 
Is there some good way of solving this?
Scheduling slaves status isn't really in Hudson app.
 
Maybe a script / CLI can be used remotely to mark slave temporarily offline and later on online again?
 
Or other way?
 

Fredrik Anderson
Telematics Software Designer

___________________________________________
Fredrik Anderson
Volvo Technology Corporation
Transport, Information & Communication
Dept 6620, M2.7
SE 405 08 Göteborg, Sweden
Telephone: +46 (0)31 322 64 50
GSM/SMS: +46 (0)739 02 64 50

E-mail: [hidden email]

 
Paul G. Weiss

Re: Unschedule / mark slave temporarily offline using remote command/script

Reply Threaded More More options
Print post
Permalink
On Fri, 06 Nov 2009 11:47:13 -0500, Anderson Fredrik (fa)  
<[hidden email]> wrote:

> Daytime we want to use only one Hudson build computer, ie the master.  
> However nightly we could add a slave computer.
>
> Is there some good way of solving this?
> Scheduling slaves status isn't really in Hudson app.
>

Oh, but it is!  If you add
        -Dhudson.scheduledRetention=true
to your Hudson startup, you can define a schedule for slaves to be used.

-P



> Maybe a script / CLI can be used remotely to mark slave temporarily  
> offline and later on online again?
>
> Or other way?
>
>
> Fredrik Anderson
> Telematics Software Designer
> ___________________________________________
> Fredrik Anderson
> Volvo Technology Corporation
> Transport, Information & Communication
> Dept 6620, M2.7
> SE 405 08 Göteborg, Sweden
> Telephone: +46 (0)31 322 64 50
> GSM/SMS: +46 (0)739 02 64 50
> E-mail:  
> [hidden email]<mailto:[hidden email]>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Kohsuke Kawaguchi-2

Re: Unschedule / mark slave temporarily offline using remote command/script

Reply Threaded More More options
Print post
Permalink
Paul G. Weiss wrote:

> On Fri, 06 Nov 2009 11:47:13 -0500, Anderson Fredrik (fa)  
> <[hidden email]> wrote:
>
>> Daytime we want to use only one Hudson build computer, ie the master.  
>> However nightly we could add a slave computer.
>>
>> Is there some good way of solving this?
>> Scheduling slaves status isn't really in Hudson app.
>>
>
> Oh, but it is!  If you add
> -Dhudson.scheduledRetention=true
> to your Hudson startup, you can define a schedule for slaves to be used.
I believe the intention of the switch is to make sure it's working. Are
you using it? Does it work? If so, we should make this feature publicly
available.

I also added a bunch of CLI commands to control the slave behaviors for
1.334.

>
> -P
>
>
>
>> Maybe a script / CLI can be used remotely to mark slave temporarily  
>> offline and later on online again?
>>
>> Or other way?
>>
>>
>> Fredrik Anderson
>> Telematics Software Designer
>> ___________________________________________
>> Fredrik Anderson
>> Volvo Technology Corporation
>> Transport, Information & Communication
>> Dept 6620, M2.7
>> SE 405 08 Göteborg, Sweden
>> Telephone: +46 (0)31 322 64 50
>> GSM/SMS: +46 (0)739 02 64 50
>> E-mail:  
>> [hidden email]<mailto:[hidden email]>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
> .
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/



smime.p7s (4K) Download Attachment
Paul G. Weiss

Re: Unschedule / mark slave temporarily offline using remote command/script

Reply Threaded More More options
Print post
Permalink
> Paul G. Weiss wrote:
>> On Fri, 06 Nov 2009 11:47:13 -0500, Anderson Fredrik (fa)
>> <[hidden email]> wrote:
>>
>>> Daytime we want to use only one Hudson build computer, ie the master.
>>> However nightly we could add a slave computer.
>>>
>>> Is there some good way of solving this?
>>> Scheduling slaves status isn't really in Hudson app.
>>>
>>
>> Oh, but it is!  If you add
>> -Dhudson.scheduledRetention=true
>> to your Hudson startup, you can define a schedule for slaves to be used.
>
> I believe the intention of the switch is to make sure it's working. Are
> you using it? Does it work? If so, we should make this feature publicly
> available.
>

I have been using it pretty much since it was made available.  It works
fine for me.

> I also added a bunch of CLI commands to control the slave behaviors for
> 1.334.
>
>>
>> -P
>>
>>
>>
>>> Maybe a script / CLI can be used remotely to mark slave temporarily
>>> offline and later on online again?
>>>
>>> Or other way?
>>>
>>>
>>> Fredrik Anderson
>>> Telematics Software Designer
>>> ___________________________________________
>>> Fredrik Anderson
>>> Volvo Technology Corporation
>>> Transport, Information & Communication
>>> Dept 6620, M2.7
>>> SE 405 08 Göteborg, Sweden
>>> Telephone: +46 (0)31 322 64 50
>>> GSM/SMS: +46 (0)739 02 64 50
>>> E-mail:
>>> [hidden email]<mailto:[hidden email]>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>> .
>>
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]