How can I make sonarqube branch aware

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve : I have 3 branches in my pipeline: feature, develop, master, I want my sonartest to be aware of branches. For example test dedicated to develop and master.
  • what have you tried so far to achieve this: I am trying to run sonar test for a dedicated branch meaning I want my sonar to be branch aware.

I am using community edition and I have noticed Is this going to work on community version?


Thanks for reaching out to the community. We have branch analysis available on SonarQube Developer edition and above, as outlined in our documentation. You can actually request a free trial if you want to try that feature out.

Let me know if you have any questions on that information. I’d be happy to help further. :slight_smile: