Quantcast

Hudson configuration management: path abstractions

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Hudson configuration management: path abstractions

Dewey Sasser
Currently, I define Java JDK and Ant Installation paths in Hudson on the
master node, so that it is applicable to the master node.  Unfortunately
this requires all slaves to be configured with the same paths as the master.

While this is generally doable (in that both windows and (Li|U)n[ui]x
can be configured so /some/arbitrary/path always works), in my
environment I have a mix of machines configured to somewhat different
standards (and needs).  I realize I can engage in various hacks and
work-arounds, but I would like to be able to define

For master node:
   JDK1.5_09 = c:/Program Files/Java/jdk1.5.09

but slave1
   JDK1.5_09= c:/Java/JDK1.5.09

The an e.g. matrix project can run across JDK1.5_09 and JDK1.6_02 and
the slaves can happily slave away.

Is there any way to do this or plan for it in the future?

Thanks,
--
Dewey



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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hudson configuration management: path abstractions

Erik Ramfelt
Sorry, Hudson does not support this yet. Its on the issue tracker
(https://hudson.dev.java.net/issues/show_bug.cgi?id=786) but i dont
think anyone is actively working on it.

//Erik

On Thu, Mar 13, 2008 at 11:30 PM, Dewey Sasser <[hidden email]> wrote:

> Currently, I define Java JDK and Ant Installation paths in Hudson on the
>  master node, so that it is applicable to the master node.  Unfortunately
>  this requires all slaves to be configured with the same paths as the master.
>
>  While this is generally doable (in that both windows and (Li|U)n[ui]x
>  can be configured so /some/arbitrary/path always works), in my
>  environment I have a mix of machines configured to somewhat different
>  standards (and needs).  I realize I can engage in various hacks and
>  work-arounds, but I would like to be able to define
>
>  For master node:
>    JDK1.5_09 = c:/Program Files/Java/jdk1.5.09
>
>  but slave1
>    JDK1.5_09= c:/Java/JDK1.5.09
>
>  The an e.g. matrix project can run across JDK1.5_09 and JDK1.6_02 and
>  the slaves can happily slave away.
>
>  Is there any way to do this or plan for it in the future?
>
>  Thanks,
>  --
>  Dewey
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [hidden email]
>  For additional commands, e-mail: [hidden email]
>
>

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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Re: Hudson configuration management: path abstractions

Aleksandar Kostadinov
https://hudson.dev.java.net/issues/show_bug.cgi?id=1385 should fix that.
It's easier to implement and we're planning to implement it when time
permits (don't take your breath).

Now I think of another improvement, that Kohsuke has to approve first -
to have a field in slave configuration form to set environment
variables. Not that one can't insert them in the command field but it's
very hacky and inconvenient.

Erik Ramfelt wrote, On 12/23/-28158 09:59 PM (EEST):

> Sorry, Hudson does not support this yet. Its on the issue tracker
> (https://hudson.dev.java.net/issues/show_bug.cgi?id=786) but i dont
> think anyone is actively working on it.
>
> //Erik
>
> On Thu, Mar 13, 2008 at 11:30 PM, Dewey Sasser <[hidden email]> wrote:
>> Currently, I define Java JDK and Ant Installation paths in Hudson on the
>>  master node, so that it is applicable to the master node.  Unfortunately
>>  this requires all slaves to be configured with the same paths as the master.
>>
>>  While this is generally doable (in that both windows and (Li|U)n[ui]x
>>  can be configured so /some/arbitrary/path always works), in my
>>  environment I have a mix of machines configured to somewhat different
>>  standards (and needs).  I realize I can engage in various hacks and
>>  work-arounds, but I would like to be able to define
>>
>>  For master node:
>>    JDK1.5_09 = c:/Program Files/Java/jdk1.5.09
>>
>>  but slave1
>>    JDK1.5_09= c:/Java/JDK1.5.09
>>
>>  The an e.g. matrix project can run across JDK1.5_09 and JDK1.6_02 and
>>  the slaves can happily slave away.
>>
>>  Is there any way to do this or plan for it in the future?
>>
>>  Thanks,
>>  --
>>  Dewey
>>
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [hidden email]
>>  For additional commands, e-mail: [hidden email]
>>
>>

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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Hudson configuration management: path abstractions

Aleksandar Kostadinov
Sorry #1385 is not related. There isn't any filed issue about that but
having environment variables expanded in the PATH of java/maven/whatever
on the slave will fix that as one can specify java15: "${JAVA15_HOME}"
and have on all slaves that variable point to the correct local location.

Aleksandar Kostadinov wrote, On 03/14/2008 06:42 AM (EEST):

> https://hudson.dev.java.net/issues/show_bug.cgi?id=# should fix that.
> It's easier to implement and we're planning to implement it when time
> permits (don't take your breath).
>
> Now I think of another improvement, that Kohsuke has to approve first -
> to have a field in slave configuration form to set environment
> variables. Not that one can't insert them in the command field but it's
> very hacky and inconvenient.
>
> Erik Ramfelt wrote, On 12/23/-28158 09:59 PM (EEST):
>> Sorry, Hudson does not support this yet. Its on the issue tracker
>> (https://hudson.dev.java.net/issues/show_bug.cgi?id=786) but i dont
>> think anyone is actively working on it.
>>
>> //Erik
>>
>> On Thu, Mar 13, 2008 at 11:30 PM, Dewey Sasser <[hidden email]> wrote:
>>> Currently, I define Java JDK and Ant Installation paths in Hudson on the
>>>  master node, so that it is applicable to the master node.  Unfortunately
>>>  this requires all slaves to be configured with the same paths as the master.
>>>
>>>  While this is generally doable (in that both windows and (Li|U)n[ui]x
>>>  can be configured so /some/arbitrary/path always works), in my
>>>  environment I have a mix of machines configured to somewhat different
>>>  standards (and needs).  I realize I can engage in various hacks and
>>>  work-arounds, but I would like to be able to define
>>>
>>>  For master node:
>>>    JDK1.5_09 = c:/Program Files/Java/jdk1.5.09
>>>
>>>  but slave1
>>>    JDK1.5_09= c:/Java/JDK1.5.09
>>>
>>>  The an e.g. matrix project can run across JDK1.5_09 and JDK1.6_02 and
>>>  the slaves can happily slave away.
>>>
>>>  Is there any way to do this or plan for it in the future?
>>>
>>>  Thanks,
>>>  --
>>>  Dewey
>>>
>>>
>>>
>>>  ---------------------------------------------------------------------
>>>  To unsubscribe, e-mail: [hidden email]
>>>  For additional commands, e-mail: [hidden email]
>>>
>>>
>

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

Loading...