Jenkins管道上的dotnet构建失败,但通过自由式工作成功

时间:2018-11-05 06:19:18

标签: jenkins .net-core jenkins-pipeline devops

我正在尝试使用“ dotnet”构建一个dotnet build核心应用。 我有相同的代码,工具和Jenkins节点(windows),但是使用管道执行时,构建失败并显示以下错误。但是,当在多台本地计算机上运行时,构建成功结束,这是同一Jenkins节点上的自由式作业。 错误:

D:\tools\dotnet-v2.1.3\sdk\2.1.302\Microsoft.Common.CurrentVersion.targets(4172,5): error MSB3030: Could not copy the file "obj\Debug\netstandard2.0\xyz.zyz.ABC.dll" because it was not found. [JENKINS_WORKSPACE\pipeline\Service\Source\service_client\ABC.csproj]

不确定发生了什么。我能够在相同的环境下使用相同的管道脚本为其他.Net核心应用程序构建。

预先感谢, 帕塔

0 个答案:

没有答案