Hi
I use sonarqube developer 9.5.
working with azure devops pipelines.
the code coverage is not working in net6 projects
in other projects it works.
I have the the same pipeline for 2 different projects
in tests:
–collect “Code coverage”
and all works here:
SonarScanner for MSBuild 5.6
Using the .NET Framework version of the Scanner for MSBuild
Looking for TRX files in: D:\AzDevOps\Agent-08_w\12\TestResults
No test results files found
Did not find any binary coverage files in the expected location.
Falling back on locating coverage files in the agent temp directory.
Searching for coverage files in D:\AzDevOps\Agent-08_w_temp
All matching files: count=2
D:\AzDevOps\Agent-08_w_temp\172d9bc7-4d30-474a-99a2-75405708e048\azdevopsadm_AZURE-DEVOPS-WI_2022-07-10.13_57_21.coverage
here in the NET6 linux version it is not working:
SonarScanner for MSBuild 5.6
Using the .NET Core version of the Scanner for MSBuild
INFO: ‘sonar.coverage.jacoco.xmlReportPaths’ is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer