【发布时间】:2018-07-26 16:05:12
【问题描述】:
我已通过 VSTS 扩展将自定义摘要部分添加到“构建摘要”部分。
“ABC 的 VSTS 扩展加载失败。了解有关此扩展的更多信息,包括可用的支持选项。”
贡献:
"id": "abcfef-build-status-section",
"type": "ms.vss-build-web.build-results-section",
"description": "ABC Scan Summary",
"targets": [
".build-info-tab",
"ms.vss-build-web.build-results-summary-tab"
],
"properties": {
"name": "ABC Summary Section",
"uri": "buildstatus.html",
"order": 20,
"height": 500
}
范围:
"scopes": [
"vso.build",
"vso.build_execute"
]
HTML页面(buildstatus.html):
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello World</title>
<script src="scripts/VSS.SDK.js"></script>
</head>
<body>
<script type="text/javascript">VSS.init();</script>
<h1>Hello World</h1>
<script type="text/javascript">VSS.notifyLoadSucceeded();</script>
</body>
</html>
请帮助解决这个问题。
提前致谢。
【问题讨论】:
-
您能分享您构建的完整日志吗?
标签: azure-devops tfs-2015 azure-pipelines