首页 新闻 会员 周边 捐助

老哥哥们,问个jenkins中还原.netcore 的问题

0
[待解决问题]

环境

  1. windows 10
  2. docker desktop 19.03.8
  3. jenkins 2.235.2
  4. .net core 3.1

问题

Started by user admin
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/web
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/xxxx.git # timeout=10
Fetching upstream changes from https://github.com/xxxx.git
 > git --version # timeout=10
 > git fetch --tags --progress -- https://github.com/xxxx.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 05e1dfcdd599220e909dfd20d7d9594a2210b63e (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 05e1dfcdd599220e909dfd20d7d9594a2210b63e # timeout=10
Commit message: "add dockerfile"
 > git rev-list --no-walk 05e1dfcdd599220e909dfd20d7d9594a2210b63e # timeout=10
[web] $ /bin/sh -xe /tmp/jenkins3175443677646369105.sh
+ cd ./Live.Web
+ dotnet publish -c release -o ./bin/publish
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
/usr/share/dotnet/sdk/3.1.302/NuGet.targets(128,5): error : The file '/var/jenkins_home/.nuget/packages/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple/4.3.0/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.nuspec' already exists. [/var/jenkins_home/workspace/web/Live.Web/Live.Web.csproj]
Build step 'Execute shell' marked build as failure
FTP: Current build result is [FAILURE], not going to run.
Finished: FAILURE

老哥哥们,有知道这是什么问题吗,问题出现在 dotnet restore阶段

丨秋风扫落叶的主页 丨秋风扫落叶 | 初学一级 | 园豆:6
提问于:2020-07-28 10:57
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册