According to the comment in the code: // Flag indicating if workspace should be deleted every time or if it should be // left (the default). Leaving the workspace will mean that subsequent gets // will only need to transfer the modified files, improving performance considerably.
This runs a DeleteWorkspace (workspace /delete) command, followed by CreateWorkspace (workspace /new) and then MapWorkspace (workspace / map) commands. However, since I don't know how VSTS actually works, I can't provide any more details than that. Perhaps looking at the documentation for VSTS would help? Craig On Jun 18, 4:30 am, Jirong Hu <[email protected]> wrote: > Hi > > "Students Finance System" is the only workspace I created on this > build server. It's used in many projects. So if I set this > deleteWorkspace to true in one project, it means the autoGetSource > will delete and re-create this workspace, how does it affect the > others? > > Thanks > Jirong > > <vsts autoGetSource="true" applyLabel="false"> > <server>xxxxx</server> > <workingDirectory>C:\SFSBuildRoot > \Release11.1.5AssessmentEngine-BuildTest\Code</workingDirectory> > <workspace>Students Finance > System</workspace> > <project>$/Students Finance System/Release > 11.1.5 > Assessment Engine-Build Test/Code</project> > <cleanCopy>true</cleanCopy> > <deleteWorkspace>true</deleteWorkspace> > </vsts>
