Closed oko-x closed 6 years ago
Take a look at this issue https://github.com/ciricihq/gitlab-sonar-scanner/issues/10
In resume you should define your projectKey either in the sonar-project.properties
file or as a parameter of sonar-scanner-run gitlab-sonar-scanner -Dsonar.projectKey=$CI_PROJECT_NAME
Thank you, I should have found that myself.
After yesterday's remove of unnecessary assignment
SONAR_PROJECT_KEY=$CI_PROJECT_NAME,
I getmy yml config looks like this:
Should I add it to the script execution like
/usr/bin/sonar-scanner-run.sh -Dsonar.projectKey=$CI_PROJECT_NAME
?