Must-share information (formatted with Markdown):
-
We are using CE 10.0 and deployed in GKE cluster using helm chart.
-
Trying to integrate the sonarqube scan step in circleCI workflow.
-
what have you tried so far to achieve this
As per the instructions here CircleCI Developer Hub - sonarsource/sonarcloud
we have imported sonarsource orb ** sonarcloud: sonarsource/sonarcloud@2.0.0** in circleCI workflow and the required config.
but the pipeline is failing with below error message.
ERROR: Error during SonarScanner execution ERROR: Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR_TOKEN’ environment variable, or contact the project administrator
Also per doc instructions I have created the SONAR_TOKEN with Execute Analysis permission on the project in sonarqube.
Please let me know if anything else required from my side for further help.
Thanks in advance.