开发者

How can I add a tab at the top of the teamcity main page

We're trying to add a new tab on the top of teamcity's main page next to the Projects/My Changes/Agents/Build Queue area.

Is there any开发者_运维技巧 way to do this with the current API?


This is not a part of OpenAPI. But you can try the following Javascript code:

  topNavPane.addTab("customTab", {
    caption: "Tab title",
    url: "<c:url value="/your_controller.html"/>"
  });

You'll have to wright implementation of your_controller, obviously. In your JSP view, you'll probably want to use page.tag, which is common base for TeamCity pages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜