Hi

 <deleteWorkspace>false</deleteWorkspace>
set this to true



Just a stupid thing in TFS in my opinion.


with kind regards
Ruben Willems


On Tue, Apr 19, 2011 at 2:50 PM, Yogesh Bang <[email protected]> wrote:

> Hi there,
>
> I have been trying to use TFS repository with CCNET for my CI
> activity.
> However each time the ccnet.exe throws the exception as
> "C:\MyProjects\CI is already mapped in workspace MyMachineName".
>
> ccnet.config is as below
>
> <cruisecontrol xmlns:cb="urn:ccnet.config.builder">
> <project name="CTMS" queue="Q1" queuePriority="1">
>  <triggers>
>    <intervalTrigger name="continuous" seconds="30"
> buildCondition="ForceBuild" initialSeconds="30"/>
>  </triggers>
>
>  <!--Source Code Control Integration -->
> <sourcecontrol type="vsts" autoGetSource="true">
>  <server>http://svr1108:8080/tfs/tfsCLN102</server>
>  <username>vvv</username>
>  <password>bbb</password>
>  <domain>aaa</domain>
>  <project>$/tfs102-149-5/Node1/Development/App1/App1/Windows</
> project>
>  <workingDirectory>C:\MyProjects\CI</workingDirectory>
>  <workspace>WorkSpaceByCCNET</workspace>
>  <deleteWorkspace>false</deleteWorkspace>
> </sourcecontrol>
>
>  <!-- Compile and Build -->
>   <tasks>
>      <msbuild>
>        <executable>C:\WINDOWS\Microsoft.NET\Framework
> \v3.5\MSBuild.exe</executable>
>        <workingDirectory>C:\MyProjects\CI</workingDirectory>
>        <projectFile>App1.sln</projectFile>
>        <buildArgs>/p:Configuration=Release /v:diag /t:rebuild</
> buildArgs>
>        <timeout>120</timeout>
>      </msbuild>
>   </tasks>
>
> </project>
> </cruisecontrol>

Reply via email to