Hi,
How to integrate MSTEST in Jenkins with Sonarqube.
Please suggest any ideas.
Thanks
Hi,
How to integrate MSTEST in Jenkins with Sonarqube.
Please suggest any ideas.
Thanks
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 https://sonarqube.thehartford.com/documentation/analysis/coverage/
Run MSBuild
Run the scanner END command.
Your unit testing and coverage metrics should display in Sonarqube.
Please also read [Coverage & Test Data] Generate Reports for C#, VB.net .
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.
@RSchaeferHIG I am not able to see the content in [https://sonarqube.thehartford.com/documentation/analysis/coverage/ ]
Hi @saisirisha05,
Would it be possible to share the steps taken so far and the logs? It will help us to understand the problem you are facing.
Thank you,
Costin
Sorry about that. I reflexively searched our local docs. Here’s the public link: https://docs.sonarqube.org/latest/analysis/coverage/
@saisirisha05: I’m closing this thread due to lack of feedback. Please open another one if the problem persists, detailing what you have tried so far.