about ccnet

So here are my Lessons Learned:

  1. Use a separate account for your builds that is not any of your normal user accounts.
  2. Give each project its own workspace
  3. Have the plug-in delete the workspace when it's done
  4. Always get a clean copy of the source code

This is what our <sourcecontrol> block looks like:

<sourcecontrol type="vsts" autoGetSource="true">
    <server>SERVERNAME</server>
    <project>$/Path/To/Source</project>
    <workingDirectory>C:\Build\Directory</workingDirectory>
    <username>USERNAME</username>
    <password>PASSWORD</password>
    <domain>DOMAIN</domain>
    <cleanCopy>true</cleanCopy>
    <workspace>WORKSPACENAME</workspace>
    <deleteWorkspace>true</deleteWorkspace>
</sourcecontrol>

 

form:http://www.agileprogrammer.com/dotnetguy/archive/2007/02/23/22253.aspx

posted @ 2009-09-24 15:15  new 维生素C.net()  阅读(232)  评论(0编辑  收藏  举报