Sco*_* M. 3 msbuild jenkins visual-studio-2017
我们看到我们的自动化构建系统间歇性中断。该错误与 MSBuild 子节点有关,并且似乎没有任何日志记录或错误信息。该错误可能在任何节点上以及构建中的不同点上随机发生。而且,我无法通过在命令行上运行构建来重现该问题。
0>MSBUILD : error MSB4166: Child node "8" exited prematurely. Shutting down.
Diagnostic information may be found in files in "C:\Users\<user>\AppData\Local\Temp\"
and will be named MSBuild_*.failure.txt. This location can be changed by setting
the MSBUILDDEBUGPATH environment variable to a different directory.
Run Code Online (Sandbox Code Playgroud)
预期的日志文件 MSBuild_*.failure.txt 不存在,并且控制台输出中没有任何信息表明导致失败的原因。我们使用“Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework”和 Jenkins 2.151.3
这个问题似乎总是发生在 CI 服务器中,而在本地计算机上通过 msbuild 运行良好。
不确定其原因,但将其添加/nodeReuse:false到 msbuild 命令可以帮助解决此问题。
你可以看一下[这个类似的]。(错误MSB4166:子节点过早退出。正在关闭)。
| 归档时间: |
|
| 查看次数: |
5989 次 |
| 最近记录: |