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