Qua*_*yst 7 version-control tfs build-server
从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'.
Run Code Online (Sandbox Code Playgroud)
知道导致这个问题的原因吗?发生这种情况时,我们看不到明确的模式 我们的构建服务器全天候运行.它似乎更有可能发生在当天的第一个版本中.
该问题可能与工作区有关,您可以尝试使用解决方案Error When Set Clean = True on Windows
当根源文件夹(例如 _work\1\s)未映射时,scorch 看起来会失败 - 即工作区不包含根映射。一个不太好的解决方法是将变量 build.clean 设置为 all。
| 归档时间: |
|
| 查看次数: |
9087 次 |
| 最近记录: |