Hi, I’m using SonarCloud with a private Github repo and CircleCI (via the SonarCloud orb). The scan errors with “main component does not belong to specified organization”
Here is part of the logs:
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=21ms
INFO: SCM provider for this project is: git
INFO: 3 files to be analyzed
INFO: 3/3 files analyzed
INFO: 139 files had no CPD blocks
INFO: Calculating CPD for 244 files
INFO: CPD calculation finished
INFO: SCM writing changed lines
INFO: SCM writing changed lines (done) | time=34ms
INFO: Analysis report generated in 121ms, dir size=272 KB
INFO: Analysis report compressed in 271ms, zip size=259 KB
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 37.345s
INFO: Final Memory: 54M/280M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
ERROR: main component does not belong to specified organization
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
Exited with code 2
Any idea what I should look for to fix this problem?