[Buildbot-devel] win32 path problem

Alex Escott AE at malaspina-labs.com
Thu Jan 20 02:08:19 UTC 2011


Hi all,



I have buildslaves setup on some win7 machines. I installed some svn binaries on them, and after installing them, the system path contains the svn installation dir (last one):



C:/Program Files (x86)/Target Compiler Technologies/cf6-08R1.3/bin/WINbin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Subversion\bin



.. so I can issue "> svn" from a normal windows command prompt and all is fine. Yay times...





However when my buildslave's SVN build step tries to checkout the files, it can't find 'svn'. It's using some other different, but similar, path.



Buildbot log says:



starting svn operation

could not find 'svn'

PATH is 'C:/Program Files (x86)/Target Compiler Technologies/cf6-08R1.3/bin/WINbin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\'

program finished with exit code -1



Any idea why it's not using my system path? Or how I can get it to find svn without hard-coding the location into svn.py (which I'm doing as a workaround for now...)



Thanks a ton...



ae

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110119/c613158d/attachment.html>


More information about the devel mailing list