0

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?

Dave Schweisguth
  • 36,475
  • 10
  • 98
  • 121
AndrewVos
  • 1,297
  • 2
  • 14
  • 25

1 Answers1

0

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.

KIR
  • 5,614
  • 1
  • 31
  • 23