Register report tab

Is it possible to register a report tab (build result) programmatically ?
If so, is there a way to make sure one is registered in order not to repeat the registration ?

The only way I see requires the user to manaully configure such report tab.

1 comment
Comment actions Permalink

Edo,

Sorry for the delay in replying.


Yes. A plugin can register own tab and provide content for it based on the artifact, see example at
http://svn.jetbrains.org/teamcity/plugins/fxcop/trunk/fxcop-server/src/jetbrains/buildServer/fxcop/server/FxCopReportTab.java

> If so, is there a way to make sure one is registered in order not to repeat the registration ?
If you register the bean via Spring, this will be initialized once for server run, so you will not need to check is registered or repeat the operation.

0

Please sign in to leave a comment.