Connected to SonarCloud or SonarQube (and which version): SonarQube
And a thorough description of the problem / question:
Hi on our SonarQube server we have 2 branched that are being analyzed. an “origin/master” and an “origin/develop” branch. When I connect SonarLint to our SonarQube server I see the following in the log:
[2024-12-05T09:33:09.497] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing issues for project '[projectName]' on branch 'origin/master'
The current branch I’m working on (locally) is the “origin/develop” branch, so I would like to know if its possible that we can change which branch is beign synchronized.
Hello @strife9129, sorry for the relatively late reply.
Could you tell us the name of the current branch you are working on in your IDE? We typically try to resolve the closest branch based on the main branch and all available branches on your SQ:S project.
The branch I was working on (when last tested) was the the origin/develop branch. This branch also exsists on the SonarQube server. I also tried to go to a ticket branch (branched of from origjn/develop) and both direct to the origin/master branch.