On 30 November 2010 14:20, Niklas Gustavsson <nik...@protocol7.com> wrote:
> On Tue, Nov 30, 2010 at 2:48 PM, Bernd Bohmann <bom...@apache.org> wrote:
>> why is svn not in the path under solaris? I don't want to stick my
>> builds to ubuntu.
>
> It is in the path:
> $ sudo -s -u hudson
> bash-3.00$ svn
> Type 'svn help' for usage.
>
> I haven't tested this from Hudson, but given that it runs its slave
> over SSH I would assume it would work?

Well, it did not work for the JMeter build on Solaris2 using the
following Ant snippet:

    <exec executable="svn" resultproperty="svn.exec.result"
errorproperty="svn.exec.error" failifexecutionfails="false">

I had to change this to:

    <property name="SVNPATH" value=""/>
    <exec executable="${SVNPATH}svn" resultproperty="svn.exec.result"
errorproperty="svn.exec.error" failifexecutionfails="false">

and provide SVNPATH as a build property.

>
> /niklas
>

Reply via email to