I have started to set up SonarCloud in compass. API Token has been added successfully. What I am not seeing is how to add Sonar metrics to individual components. Any assistance is appreciated.
Thx
Solved! Go to Solution.
Hi Ken,
This is Ismail from SonarCloud team.
As David suggested, you need to paste your project URL from SonarCloud project overview page in the "Projects" section of your Compass Component so that the metric and the scorecard appear.
We're working on updating our documentation to include a section about our Compass app. The link to this documentation will be also added to the app description.
Regards
how will this work for monorepos that have just 1 sonarcloud project which can map to multiple components inside Compass. Wont every Compass component then show metrics for the entire monorepo?
Hi Prashant,
Yes, the metric and scorecard placed in a component will reflect a project on SonarCloud the way your monorepo is represented by a single project on SonarCloud.