www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Hudson] Solaris2 - svn command line client?
Date Tue, 30 Nov 2010 16:56:50 GMT
On 30 November 2010 14:20, Niklas Gustavsson <niklas@protocol7.com> wrote:
> On Tue, Nov 30, 2010 at 2:48 PM, Bernd Bohmann <bommel@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
>

Mime
View raw message