Multiple Bitbucket projects showing The main branch of this project is empty

  • Bitbucket Cloud CI
  • Basic Quality gate in Bitbucket pipeline
  • Languages of the repository: NodeJS

Our projects have never had this problem, main branch is master branch for all. But for some reason some of these repos all show this message/ nothing is showing for the master main branch. Pull requests and other branches are scanning/showing correct value.

We don’t have any errors in our master pipeline in Bitbucket neither.

  • Steps to reproduce: Not sure
  • Potential workaround: Not sure

Umm, still digging but this might have something to do with us still using Node12.

Think I found the problem, it is related to Bitbucket sonarsource/sonarcloud-scan:1.2.0
We have to upgrade this version.

1 Like