Code inspection tab is missing

Hello
I have two projects in TeamCity 9.0.4 and one displays code inspection correctly, other not.
Here is the build log of the project that fails to create code inspections. (Actually the one that created inspections look exactly the same.)
So you can see it can find XML files, and it says "Successfully parsed", yet for some reason I can't see Code Inspections tab.
What could be the reason?


[16:32:43]Checkstyle report watcher
[16:32:43][Checkstyle report watcher] 2 reports found for paths:
[16:32:43][Checkstyle report watcher] +:build/reports/checkstyle/*.xml
[16:32:43][Checkstyle report watcher] Successfully parsed
[16:32:43][Successfully parsed] 2 reports
[16:32:43][Successfully parsed] build/reports/checkstyle/test.xml
[16:32:43][Successfully parsed] build/reports/checkstyle/main.xml
[16:32:43]FindBugs report watcher
[16:32:43][FindBugs report watcher] 1 report found for paths:
[16:32:43][FindBugs report watcher] [removed]/TeamCity/buildAgent/work/5176e2b50c146c5d/build/reports/findbugs/main.xml
[16:32:43][FindBugs report watcher] Successfully parsed
[16:32:43][Successfully parsed] 1 report
[16:32:43][Successfully parsed] build/reports/findbugs/main.xml


Mike

4 comments
Comment actions Permalink

Hi Mike,

Is this issue still actual? If yes, then please check that the xml file is in FindBugs native format. Could you please attach the build/reports/findbugs/main.xml?

0
Comment actions Permalink

The file is there and it is in Findbugs format.

One thing struck me now... Is it possible, when no bugs are found (0 warnings, 0 errors), that there will be no "Inspections" tab visible on build page?

Attachment main.xml removed on request.

0
Comment actions Permalink

You are right, the inspections tab is not shown if there are no warnings/errors.

0
Comment actions Permalink

OK, I get it now.
Thank you for explanation.

0

Please sign in to leave a comment.