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.
精彩评论