【发布时间】:2017-04-03 22:13:35
【问题描述】:
从 TFS 获取源时,我们会间歇性地收到此错误:
2017-03-23T23:49:31.0591599Z ##[section]Starting: Build solution [SOLUTION-NAME].sln
2017-03-23T23:49:31.0591599Z ==============================================================================
2017-03-23T23:49:31.0591599Z Task : Visual Studio Build
2017-03-23T23:49:31.0591599Z Description : Build with MSBuild and set the Visual Studio version property
2017-03-23T23:49:31.0591599Z Version : 1.113.0
2017-03-23T23:49:31.0591599Z Author : Microsoft Corporation
2017-03-23T23:49:31.0591599Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613727)
2017-03-23T23:49:31.0591599Z ==============================================================================
2017-03-23T23:49:31.6529233Z Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'.
2017-03-23T23:49:31.8872843Z ##[error]Exit code 100 returned from process: file name 'tf', arguments 'vc resolvePath "$\My Development\Trunk\src\Rostering\trunk\[SOLUTION-NAME].sln" /loginType:OAuth /login:.,******** /noprompt'.
知道是什么导致了这个问题吗?当这种情况发生时,我们看不到明确的模式。我们的构建服务器 24/7 运行。它似乎更有可能发生在当天的第一次构建中。
【问题讨论】:
-
添加为评论,因为这不是解决方案/修复 - 由于网络问题,这发生在我正在使用的服务器上,并且在重新运行构建后,错误没有发生.
-
我们有同样的经历,因此这篇文章:问题只是间歇性地发生。
标签: tfs version-control build-server