cake-contrib / Cake.Sonar

:cake: :jigsaw: Cake addin to execute the MSBuild scanner for SonarQube in Cake builds
https://cakebuild.net/extensions/cake-sonar/
MIT License
31 stars 24 forks source link

DotNetCoreBuild support #78

Closed srollinet closed 6 years ago

srollinet commented 6 years ago

Hi,

I try to use this addin with DotNetCoreBuild(sln) instead of MsBuild(sln) The build work as expected and the result is sent to Sonar. But in Sonar I only have partial metrics

I have:

If I understand correctly, it is possible to do it with SonarScanner for MSBuild https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+MSBuild

But I am not sure if this scenario is covered by Cake.Sonar . If not, is it possible to add the support?

Thanks a lot!

srollinet commented 6 years ago

It appears that my version of Sonar was outdated. Testing with a brand new SonarQube works as expected