Why Sonarqube branch analysis(sonar.branch.name) report always passed in Enterprise edition 9.5?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

When I run the sonarqube analysis using property “sonar.branch.name=${branch}” the result is always passed even code covers is zero


Welcome to the community!

Could you provide the full analysis context (from Project Settings → Background Tasks → [cog menu] → Show Scanner Context)?