I’m using Azure Devops and have been able to get the CI/CD working well for PR quality gates, etc. However, the issue is that when I run the analysis on two branches (dev and master), they’re both sending the results to the same branch in sonar (main/master). The branches are not similarly named (dev vs master) at all or anything so I don’t understand why it’s consolidating them.
In the pipeline logs for sonar analysis, I notice that running it on “dev” produces a link which takes me to the overview for the project since that defaults to the main branch. The same log for “master” produces a link that ends in ?branch=master, however it’s clearly highlighted as the “main branch” and shows history for the other one (dev).
I have another branch and feature branches which show up just fine as independent branches, but I have no clue what to even begin looking for to make my dev branch show up as separate from “master” in sonarcloud.