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 18:52:56 GMT
On 30 November 2010 16:56, sebb <sebbaz@gmail.com> wrote:
> 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.

Note that the original Ant snippet (without SVNPATH) works fine on
Solaris1 [1]; it seems to be only Solaris2 that does not have SVN in
the path [2].

Perhaps that could be remedied?

[1] https://hudson.apache.org/hudson/job/Solaris1/2/console
[2] https://hudson.apache.org/hudson/job/Solaris2/3/console

>
>>
>> /niklas
>>
>

Mime
View raw message