Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 TFS2010 SP1 中的自定义 MSBuild 脚本进行构建。构建类型是门控签入,即使 MSBuild 日志在我的构建中显示为成功,也会失败。什么会在 MSBuild 完成后和构建定义完成门控签入之前触发失败
事实证明,当测试运行发生时,DataCollectors 失败了。这是在 VSTT 下的事件日志中诊断出来的。不幸的是,它不会更新正常的 MSBuild 日志,并且工作流日志中也没有提供其他信息。
我最终禁用了在构建过程中使用的 local.testsettings 文件中的数据收集。