I am attempting to use SourceGear Fortress (version 1.1.3) with
CruiseControl.NET (version 1.4.0.3524) and continue to get the
following error message in the ccnet.log file regardless of whether I
initiate a force build or let CCNET react to a change in the Fortress
database:
2008-10-25 20:40:19,968 [CCDemoProject:ERROR] Exception: Source
control operation failed: . Process command: C:\Program Files
\SourceGear\Fortress Client\vault.exe versionhistory $/CCDemo -
rowlimit 1 -host localhost -user bcorn -password fregtr -repository
"Initial Repository"
------------------------------------------------
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control
operation failed: . Process command: C:\Program Files\SourceGear
\Fortress Client\vault.exe versionhistory $/CCDemo -rowlimit 1 -host
localhost -user bcorn -password fregtr -repository "Initial
Repository"
I have verified that all of my settings within the ccnet.config file
are accurate. I have even attempted to use the Fortress plugin but
that results in a different error message (The Server uses a protocol
that is not supported by this client.).
Any ideas as to what might be going on? There is clearly an error in
the
ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute
call, but the CruiseControlException does not really provide any
details here.
I have also attached the current ccnet.config file if this can be of
any help.
Thanks!
Brian Corn
<cruisecontrol>
<!-- This is your CruiseControl.NET Server Configuration file. Add
your projects below! -->
<project name="CCDemoProject">
<workingDirectory>C:\CCDemoWorkingDirectory</workingDirectory>
<category>Demo Projects</category>
<modificationDelaySeconds>0</modificationDelaySeconds>
<triggers>
<intervalTrigger name="continuous" seconds="30"
buildCondition="IfModificationExists"/>
<scheduleTrigger time="23:30"
buildCondition="ForceBuild"
name="Scheduled">
</scheduleTrigger>
</triggers>
<state type="state" />
<sourcecontrol type="vault" autoGetSource="true"
applyLabel="true"
cleanCopy="true">
<executable>C:\Program Files\SourceGear\Fortress
Client\vault.exe</
executable>
<username>bcorn</username>
<password>fregtr</password>
<host>localhost</host>
<repository>Initial Repository</repository>
<folder>$/CCDemo</folder>
<ssl>false</ssl>
<timeout units="minutes">10</timeout>
<useWorkingDirectory>false</useWorkingDirectory>
<workingDirectory>.</workingDirectory>
</sourcecontrol>
<!--<sourcecontrol type="vaultplugin" autoGetSource="true"
applyLabel="true" cleanCopy="true">
<username>bcorn</username>
<password>fregtr</password>
<host>localhost</host>
<repository>Initial Repository</repository>
<folder>$/CCDemo</folder>
<ssl>false</ssl>
<useWorkingDirectory>false</useWorkingDirectory>
</sourcecontrol>-->
<!--<sourcecontrol type="vss">
<executable>C:\Program Files\Microsoft Visual Studio\VSS
\win32\SS.EXE</executable>
<project>$/CCDemo</project>
<username>bcorn</username>
<password>fregtr</password>
<ssdir>c:\repos\</ssdir>
<applyLabel>true</applyLabel>
<autoGetSource>true</autoGetSource>
<alwaysGetLatest>true</alwaysGetLatest>
<workingDirectory>C:\CCDemoWorkingDirectory</workingDirectory>
<cleanCopy>true</cleanCopy>
<timeout units="minutes">10</timeout>
</sourcecontrol>-->
<labeller type="iterationlabeller">
<prefix>1.0</prefix>
<duration>1</duration>
<releaseStartDate>2008/10/24</releaseStartDate>
<separator>.</separator>
</labeller>
<tasks>
<msbuild>
<executable>C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\MSBuild.exe</executable>
<!--<workingDirectory>C:\dev\ccnet</workingDirectory>-->
<projectFile>CCDemo\CCDemo.sln</projectFile>
<buildArgs>/noconsolelogger
/p:Configuration=Debug /v:diag</
buildArgs>
<targets>Build</targets>
<timeout>900</timeout>
<logger>C:\Program
Files\CruiseControl.NET\server
\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
</msbuild>
<nunit>
<path>C:\Program Files\NUnit
2.4.8\bin\nunit-console.exe</path>
<assemblies>
<assembly>C:\CCDemoWorkingDirectory\LT.Testing.Test\bin\Debug
\LT.Testing.Test.dll</assembly>
<assembly>C:\CCDemoWorkingDirectory\LT.Utilities.Test\bin\Debug
\LT.Utilities.Test.dll</assembly>
</assemblies>
</nunit>
</tasks>
</project >
</cruisecontrol>