首页 > 解决方案 > Azure 下载成本数据管道失败且没有错误?Azure DevOps 成本洞察仪表板

问题描述

我正在使用 Azure DevOps,并且我从市场上获得了这个 Azure Cost Insights 包,以便在我的 Azure DevOps 仪表板上显示图表。

为了让它工作,我需要创建一个构建管道来从 Azure 获取成本数据。

我创建了一个空存储库,对其进行了初始化,并构建了一个没有 YML 的管道,并添加了 2 个预定义任务:下载成本数据和发布成本数据。

我已经根据我的订阅配置了下载成本数据,使用:

但是整个任务失败了,没有任何错误:

unhandled exception during Download Task { Error: ""
at o.pipeline.e (D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:245:1126571)
at s (D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:245:110551)
at s (D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:127:27863)
at D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:127:29103
at o (D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:161:7037)
at D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>5\1.0.30\index.js:127:26784
at B.t.headersOnly.t.streamedResponse.t.body.function.t.body.pipe.a [as _callback] (D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:1:299338)
at B.t._callback.t.callback.t.callback [as callback] (D:\a\_tasks\DownloadCostData_<identifying_info_Ithink>\1.0.30\index.js:221:5503)
at emitTwo (events.js:106:13)
at B.emit (events.js:191:7)
statusCode: 302,

标签: azureazure-devopsazure-pipelinesazure-pipelines-build-taskazure-devops-extensions

解决方案


推荐阅读