Adding a third-party report to build results

Hi,

I have read this: http://www.jetbrains.net/confluence/display/TCD4/Including+Third-Party+Reports+in+the+Build+Results

But, I have a couple of questions about it. I have added an ANT target to my builds that generates an html-format findbugs report
that I would like to display as a tab in build results for almost every build that we generate.

Questions:
- If I have the report included as a build artifact, what basePath value would I use so that every build displays its own report?
- Does the report file name have to be the same for each build or will wildcards for the report file name or startPage work?
- If a build doesn't include a findbugs report what will display in build results?
  - Will the tab not display for that build?
  - Will the tab display but the page be blank or have a warning?

Thanks,
-Dave

3 comments
Comment actions Permalink

Hello Dave,

   If you have your report in directory foobar, you should add "foobar => foobar" to your artifact paths.
   In this case your basePath will be foobar.
  
   All builds can share same settings for the tab. For instance, to configure javadoc tab, you can
   add setting with basePath="javadoc" title="Javadoc" and you're done.

   The tab will be shown only if corresponding artifact will be available for the build.

   Hope this helps,
   KIR

0
Comment actions Permalink

Dave,

>  If I have the report included as a build artifact, what basePath value would I use so that every build displays its own report?

Each build will display its own report because only the artifacts of the build are searched for the archive/directory specified by the relative "basePath" path.

> - Does the report file name have to be the same for each build or will wildcards for the report file name or startPage work?

Wildcards will not work. You may add several report tab definitions to use different paths.

> - If a build doesn't include a findbugs report what will display in build results?
> - Will the tab not display for that build?
> - Will the tab display but the page be blank or have a warning?

The tab will not be displayed.

Hope this helps

0
Comment actions Permalink

Kir & Yegor,

This is the information that I was looking for. I just tried it & it works fine.

Thanks very much.

-Dave

0

Please sign in to leave a comment.