Open AdmiringWorm opened 4 years ago
@AdmiringWorm What kind of integration are you expecting? I've the idea of the providing a plugin to Cake.Issues to create output in the generic issue data format (see Cake.Issues.Reporting.SonarQube). This could be integrated into Cake.Issues.Recipe (which is used by Cake.Recipe). This would allow to report any kind of issues which Cake.Issues knows to SonarQube (with some drawbacks, e.g. that generic issues can't be used in quality profiles). The other possibility would be to use the MsBuild Scanner and let it build & analyze the solution. This would limit integration to issues from Roslyn analyzers.
IMO, not having the ability to use the custom quality profiles
with the generic approach would not make it a viable option for this (at least not in my case).
Anyways, I was thinking integration with the MsBuild Scanner or maybe through the dotnet sonar scanner.
Would be nice to see support for running SonarQube during the build being added to Cake.Recipe so it can be integrated with SonarCloud (or an on-premise instance of SonarQube).