Issue publishing code coverage report for C# and Typescript code together

Developer Edition Version 7.9.1 (build 27448)

I have a repo with angular and dotnet core projects. For angular i am generating lcov reports and fie dotnetcore i am generating coverlet reports.

Here is my config for SonarQubePrepare task in Azure DevOps
- task: SonarSource.sonarqube.15B84CA1-B62F-4A2A-A403-89B77A063157.SonarQubePrepare@5
displayName: ‘Prepare analysis on SonarQube’
inputs:
SonarQube: ‘Live_SonarQube’
scannerMode: ‘MSBuild’
projectKey: ‘Project_1’
projectName: ‘Project_1’
extraProperties: |
sonar.coverageReportPaths=$(Build.SourcesDirectory)/coverlet/reports/SonarQube.xml
sonar.sources=$(Build.SourcesDirectory)
sonar.typescript.lcov.reportPaths=**/lcov.info

When the scan is done, i dont see typescript code line detected in the sonar portal. It completely ignores the It only shows code from net core projects. I dont have any exclusions.

To keep it simple i have even removed the sonar.coverageReportPaths config to just show the type script code coverage but the typescript code line are not even recognized

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.1 → 8.9.10 → 9.9 → 10.0 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.