On 21 Nov, 2009, at 11:31 , Simon Cross wrote:
> The Bitten code actually just calls the svn command in a sub-process, so if
>
> svn checkout -r <rev> <url>
>
> works from the command line on the slave without requiring any input
> then it should also work while the slave is doing a build.
It does, with the same user as with bitten runs...
> Could you double check that the svn checkout command above works when
> run from the command line? The machine and user account will need to
> be the same as that the slave runs under (perhaps stating the obvious
> here but its worthwhile checking :).
>
> If there are still problems, perhaps send the relevant step from the
> recipe to the list?
<build xmlns:python="
http://bitten.edgewall.org/tools/python"
xmlns:svn="
http://bitten.edgewall.org/tools/svn">
<step id="checkout" description="Checkout source from repository">
<svn:checkout url="
https://somerepo1/svn/"
path="${path}" revision="${revision}" />
<svn:export url="
https://sharedlibrary/svn/"
path="trunk" />
</step>
<step id="build" description="Compile to byte code">
<python:distutils command="build"/>
<python:exec file="setup.py" args="build"/>
</step>
<step id="test" description="Run unit tests">
<python:exec file="setup.py" args="
unittest
--xml-output build/test-results.xml" />
<python:unittest file="build/test-results.xml" />
</step>
</build>
Here you go plain and straight...
> Schiavo
Ciao
> Simon
ANdreaT