Does TeamCity support more than one type of XML report processing at a time?

Currently I'm using CruiseControl and it can support running PMD, Checkstyle, JUnit and Cobertura (code coverage) all at the same time (within one build).  However, it looks like I can only select one XML report processing type at a time with TeamCity.

0
12 comments
Official comment

Hi Priyarani12466, currently it's not possible, please see the corresponding ticket in our issue tracker https://youtrack.jetbrains.com/issue/TW-14260

Avatar
Permanently deleted user

It looks like you can create separate build steps to create different reports, but that requires listing targets individually instead of just pointing to one top level target.

0

Hi David

This feature is implemented in upcoming 6.5 version.
Right now you can register additional reports by sending service messages from your buuild script.

Michael

0

I have installed TC 6.5, and have a question regarding the new XML report structure: is it possible to see both PMD and Checkstyle reports from the same build?  I configured a build with both, and I see in the build log that both the Checkstyle and PMD output files are detected, but I see only one "Code Inspections" tab in the build results.  Is that a known issue, is it fixed in 6.5.1, or should I log a report in Tracker?

Thanks,
Mark

0
Avatar
Permanently deleted user

Hello, Mark,

How did you configure XML report pocessing build feature?
Please attach full build log file.

0

I would prefer to send the build file privately, rather than posting it on a public message.  Please let me know how I can do this.

Thanks,
Mark

0

Send them to teamcity-feedback@jetbrains com, and mention a link to this thread.

0
Avatar
Permanently deleted user

Mark,

There is one more thing I want to tell you:
The only one "Code inspections" tab for a build is ok.
If you've configred two inspection types - they all should be present on it.
Please check if on the "Code inspections" tab code inspections form both PMD and Checkstyle are present?
If they are not, please let me know.

0

I'm sorry that it took me a few days to get back to you.  It does appear that the results are consolidated onto the single Code Inspections tab, but that wasn't immediately obvious (especially since all the PMD results were hidden by the "new only" checkbox being turned on), so my initial question is answered.  Thanks!

I do have one more question: while the PMD results have somewhat condensed names in the detail panel (i.e., SimplifyBooleanReturns), the Checkstyle results are showing as full package and class names like com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck.  Is that expected, or am I using an older version of Checkstyle than you coded for?

Thanks again for your help!

0
Avatar
Permanently deleted user

Mark,

As to details shown on Code inspections tab - we show everything we can get from the report, so it can differ for different indpection tools.
As I remember Checkstyle doesn't provide much info, that's why there is nothing more suitable than class name to show in the description.

0
Avatar
Permanently deleted user

Hi,

Is there any way in teamcity to seperate PMD and CheckStyle reports and its count of error and warning.

 

0
Avatar
Permanently deleted user

Hi,

Is there any way in teamcity to seperate PMD and CheckStyle reports and its count of error and warning.


0

Please sign in to leave a comment.