logo       

Re: Re: IOException if cvs not in path: msg#00069

java.hudson.user

Subject: Re: Re: IOException if cvs not in path

Sjoerd Bakker wrote:
Wouldn't it be useful to get the cvs path (as well as the shell path) to be configurable per slave?

I can imagine a situation where you want to run your master on a Linux box, when you want to run the slave on Solaris?

Yes. The same applies to everything --- JDK path, Ant path, Maven path, etc. So it really needs a bit of generalization. Doing it without cluttering the UI would be a challenge though.

The other thing is that once you have a certain number of slaves, it no longer makes much sense to have individual slaves so different, because it would be harder to maintain. You typically ends up making slaves fairly uniform. At least that's what I do.

So that's probably why I didn't need this feature so far.

For now, I recommend you configure each slaves with symlinks to their actual tools. like,

/export/home/hudson/bin
cvs -> /usr/local/bin/cvs
svn -> /bin/svn
...

etc.

--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi@xxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise