Azure devops 未能下载或分析release-index.json,错误为:
我的Azure Devops构建已开始失败,日志中出现以下消息Azure devops 未能下载或分析release-index.json,错误为:,azure-devops,Azure Devops,我的Azure Devops构建已开始失败,日志中出现以下消息 Starting: Use .NET Core sdk ============================================================================== Task : Use .NET Core Description : Acquires a specific version of the .NET Core SDK from the internet
Starting: Use .NET Core sdk
==============================================================================
Task : Use .NET Core
Description : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
Version : 2.165.0
Author : Microsoft Corporation
Help : https://aka.ms/AA4xgy0
==============================================================================
Tool to install: .NET Core sdk version 3.x.
##[error]Failed to download or parse release-index.json with error: {}
Finishing: Use .NET Core sdk
YAML包含
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
packageType: 'sdk'
version: 3.x
图像是windows-2019一段时间后,我再次运行了管道,它成功了。
我启用了诊断功能。不确定这是否有帮助。我也有同样的问题,也许有些代理在幕后的行为不一样