VSTS build summary tab with visible condition or Task dependency

戏子无情 提交于 2019-12-08 03:33:27

问题


I try to add new custom tab to summary page for build result, but which will be added only for builds with my custom build Task. For example, Task "publish artifacts", only if this task was added, the tab "artifacts" added in summary page. I want the same behavior for my task and tab.

For now, I've just added in vss-extension.json, in "contributions"

{
  "id": "build-info-tab",
  "type": "ms.vss-build-web.build-results-tab",
  "description": "A tab contributing to build results view",
  "targets": [
    "ms.vss-build-web.build-results-view"
  ],
  "properties": {
    "name": "My Build info",
    "uri": "infoTab.html",

  }
}

But this tab permanently displayed for any builds and that is my problem.

Actually I have the same issue with summary section also.

来源:https://stackoverflow.com/questions/39729392/vsts-build-summary-tab-with-visible-condition-or-task-dependency

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!