Hello, dear SonarCloud team
In our company we developed a set of custom Checkstyle rules, with a custom Maven Checkstyle configuration. They appear in the report as a normal error, but by some reason in SonarCloud analysis I don’t see it. Is there anything that I can do to make it possible to display a custom error?
Thank you for your reply in advance.
Are you explicitly setting
sonar.java.checkstyle.reportPaths to the report containing the issue?
Yes, sure, and the issues in the report are appearing in sonar, all of them except my custom one. The custom one is also in checkstyle.xml report, but not in SonarCloud report
Hi Dmitrii, I think the issue might have something to do with the format of the file’s portion generated by your rule. If not confidential, could you share the report file that is causing you this issue? It would be great to have a file that has at least 1 issue reported correctly by Sonarcloud and at least 1 issue that instead is missing, to check the differences