开发者

What does "Enforce overwrite all files" do in TeamCity TFS VCS Root configuration?

I occasionally have a problem where it appears that TeamCity checks out an old version of a file. For instance

  • I fixed a failing test, but TeamCity didn't get the latest version, so it kept failing.
  • I updated an install script on a new branch, but TeamCity didn't get the latest version, so it kept running the script with the old path.

The only thing that seems to fix the problem is to check "Enforce overwrite all files" in the VCS root configuration. But, the latest version of the docs do not mention this option. What does it do and why might that fix my problem?


My build configurations use


Overwrite all files is an option that affects TFS checkout on agent behavior. If you set it to true, TeamCity will call TFS to update workspace rewriting all files. In general there is no need to do 'force' update for every build. But, if you suspect the build to change checked-in files locally, the option is for you.

If you are describing an issue where TeamCity does not take all files, please create an issue for it at http://youtrack.jetbrains.net. Do you see changes detected and files not updated? What is the version of Team Explorer/TFS server?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜