SonarQube Analysis going to Main branch instead of the correct branch

Hi,

You haven’t provided a lot of detail here. What’s your CI system? Can you share your analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann