Master branch not being analyzed for one repository


I just set up sonarcloud for the first time, using a paid account. I’ve set up two repositories, both are set up in the same way, both have a master branch which is the default branch.

Somehow one repository is not being automatically analyzed. When looking at the overview page for the project it says: ““master” branch has not been analyzed yet and you have multiple branches already. It looks like it is not your Main Branch, check your configuration.”.

The branches screen looks like this, no analysis being done, for the other repo it looks exactly the same but that one is being analyzed. Strangely enough when I click pull requests those are successfully analysed, but the master branch isn’t.

Any idea how I can resolve this issue and start using the product?

  • ALM used GitHub
  • CI system used: none configured yet, but we use circleci
  • Languages of the repository: Ruby, Typescript, Javascript
  • Steps to reproduce: Connect repo with github, nothing else is configured.

Ok, my bad, I got a notification about an error with the analysis not working. The original message on the overview screen is very confusing, but I should’ve spotted the error, which is somewhere else, but I just saw a message pop up. I think this will resolve the issue and otherwise I will open a new one.

1 Like