Can you try running the svn command from the command line and see if
you get the same error? The command is:
svn.exe log svn://drift/al/an/test/CruiseControlTest -r
"{2009-06-16T11:51:05Z}:{2009-06-16T11:51:09Z}" --verbose --xml --
username Stian --non-interactive --no-auth-cache
This will need to be run from somewhere that can access svn.exe (or
put the full path to svn.exe in).
If that does not work, trying adding --password to the command and see
what happens.
Craig
On Jun 17, 9:46 pm, Stian <[email protected]> wrote:
> Hey guys - first time user of CCNet here, trying to set things up with
> Subversion.
>
> I am getting an error when forcing a build. The error message is as
> follows:
>
> "[CruiseControlTest:WARN] Source control failure (GetModifications):
> Source control operation failed: svn: Can't get username or password
> . Process command: svn.exe log svn://drift/al/an/test/CruiseControlTest
> -r "{2009-06-16T11:51:05Z}:{2009-06-16T11:51:09Z}" --verbose --xml --
> username Stian --non-interactive --no-auth-cache"
>
> My project configuration looks like this:
>
> "<project name="CruiseControlTest" queuePriority="0">
> <workingDirectory>C:\build\ccnet</workingDirectory>
> <category>TestProject</category>
> <initialState>Stopped</initialState>
> <startupMode>UseInitialState</startupMode>
> <state type="state" directory="C:\CCNetState" />
> <sourcecontrol type="svn">
> <executable>C:\Program Files\SlikSvn\bin\svn.exe</executable>
> <username>Stian</username>
> <password/>
> <trunkUrl>svn://drift/al/an/test/CruiseControlTest</trunkUrl>
>
> <workingDirectory>C:\SvnRepository\al\an\test\CruiseControlTest</
> workingDirectory>
> </sourcecontrol>
> </project>"
>
> I am running on Windows Server 2003 SP2
>
> Outside CCNet, I can access the svn repository no problem with Stian
> as username. There is no password.
>
> I really hope someone can help me with this!
>
> Stian