【问题标题】:Failed to download or parse release-index.json with error:无法下载或解析 release-index.json 并出现错误:
【发布时间】:2020-04-03 05:32:08
【问题描述】:

我的 Azure Devops 构建开始失败并在日志中显示以下消息

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

【问题讨论】:

    标签: azure-devops


    【解决方案1】:

    一段时间后,我再次运行了管道,它成功了。 我启用了诊断。不确定这是否有帮助。

    【讨论】:

    • 我也遇到了同样的问题,也许有些特工在幕后的行为不一样
    猜你喜欢
    • 2014-10-24
    • 1970-01-01
    • 1970-01-01
    • 2021-04-17
    • 1970-01-01
    • 2021-06-14
    • 2019-06-02
    • 2013-03-01
    • 1970-01-01
    相关资源
    最近更新 更多