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