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

相关文章:

  • 2022-03-07
  • 2022-01-14
  • 2021-07-10
  • 2022-12-23
  • 2021-11-04
  • 2022-01-06
  • 2022-12-23
猜你喜欢
  • 2022-01-29
  • 2021-05-23
  • 2021-12-09
  • 2021-07-26
  • 2021-11-02
  • 2021-08-31
  • 2021-06-22
相关资源
相似解决方案