0

我有一个 Azure DevOps Pipeline,它正在尝试将 NuGet 包还原到我的项目之一。它失败并出现以下错误。我无法解决它并进一步前进。

##[error]The nuget command failed with exit code(1) and error(System.AggregateException: One or more errors occurred. ---> 
NuGet.Protocol.Core.Types.FatalProtocolException: Unable to load the service index for source https://cesis.pkgs.visualstudio.com/_packaging/Internal/nuget/v3/index.json. ---> 
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
4

1 回答 1

1

我想到了。我必须创建新的 PAT 令牌并将令牌应用到 Pipeline 并且事情开始工作。

于 2020-05-06T02:00:07.593 回答