How to integrate MSTEST from Jenkins to Sonarqube


How to integrate MSTEST in Jenkins with Sonarqube.

Please suggest any ideas.


You’ll need to run DotCover or OpenCover to run MSTest and generate coverage data.

When you run the BEGIN command of the MSBuild scanner you’ll need to provide the appropriate testing and coverage reporting properties per

Run MSBuild
Run the scanner END command.

Your unit testing and coverage metrics should display in Sonarqube.

1 Like

Please also read [Coverage & Test Data] Generate Reports for C#, .

Thanks @RSchaeferHIG ,I will go through the docs and try to publish the results in Sonarqube.

@Andrei_Epure Thanks,I will go through the docs.

1 Like

@RSchaeferHIG I am not able to see the content in [ ]