about ccnet
So here are my Lessons Learned:
- Use a separate account for your builds that is not any of your normal user accounts.
- Give each project its own workspace
- Have the plug-in delete the workspace when it's done
- 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