April 6, 2012

Steps to Setup of CruiseControl.NET with TFS 2005 under a 64bit server

1)      Install latest plugin for TFS, which we can download here.

2)    Modify the configuration file as below.

<project>
    <name>Example1</name>
    <triggers>
      <intervalTrigger seconds="240"/>
    </triggers>
    <modificationDelaySeconds>120</modificationDelaySeconds>
    <sourcecontrol type="vsts" autoGetSource="true" applyLabel="true">
      <server>http://tfs:8080</server>
      <project>$/CA.Example1</project>
      <username>user</username>
      <password>pwd</password>
      <domain>mydomain</domain>
      <workingDirectory>C:\WorkingDirectory\example1\</workingDirectory>
    </sourcecontrol>
    <tasks>
      <msbuild>
        <executable>C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable>
        <workingDirectory>C:\WorkingDirectory\example1workingDirectory>
        <projectFile>Example1.sln</projectFile>
        <buildArgs> /p:Configuration=Debug</buildArgs>
        <targets>Build</targets>

      </msbuild>
    </tasks>
    <publishers>

    </publishers>
  </project>

No comments:

Post a Comment