Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube Community 8.9.7
- what are you trying to achieve
Have metrics showing for all projects that pass quality gates
- what have you tried so far to achieve this
Removing sonar.exclusions and sonar.properties, removing just sonar.exclusions
I have a team that is having an issue where, for some of their projects, they do not see the metrics on the Project view despite the projects passing. Their sonar files are nearly identical across all projects, but some do not show the metrics, instead saying “The main branch of this project is empty.” Clicking into the project we are able to view all metrics fine.
Most of the projects are not scanning from the main branch, however there are a few that are still showing metrics despite this.
Please let me know what info/files I can share to help troubleshoot this.