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
阶段