TFS 2013 default assembly template does not get missing source items

The default build template (TfvcTemplate.12.xaml) will not receive any missing items during normal build. I can force it to delete and discard all changes by setting the "Clean Workspace" build definition property to true. However, I want to do incremental builds.

Setting the "Blank Workspace" property to false will crash build agents that have not checked out source code before or whose files have been modified by some external process.

Is there an option I'm missing to enable this, or do I need to change the build template? If I need to change the template, what actions should I add?

+3


source to share


1 answer


You need to stop manually deleting files from build servers.

When you manually delete a file from a build server, the server workspace is out of sync with the server and must be overwritten. If you have the "Clean Jobs" value set to false, you disable this feature.



Do not delete files directly from build servers.

+4


source







All Articles