I am using SonarQube Community Edition version 7.6 (build 21501) to report the analysis results for my Android/Gradle projects to the corresponding GitLab repository by using the Sonar GitLab Plugin.
The setup
I configured the Gradle sonarqube task with preview mode enabled in order to get reports only on the files I changed in a particular merge request.
The outcome of the analysis is a comment which is posted by SonarQube into GitLab. It looks like this:
Is there a way to configure the comment output? It is too verbose for me.
I would like to keep the upper part but hide the “Top 10 extra issues” lower part.
Further, I am missing links for the upper part which take me to the actual issues.
The lower part has those links as you can guess from the screenshot.
The msanez/sonar-branch-community plugin is not installed at the moment. The branch feature is available in SonarQube 7.6 by default if I understand you correctly.
How does one or the other help me to customize the output of the preview mode comment?