Closed roberAlb closed 8 months ago
Probably a problem with the '
.
Please try this command:
reportgenerator -reports:$(Agent.WorkFolder)/_temp/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/CodeCoverage -reporttypes:HtmlInline_AzurePipelines;Cobertura
I'm executing reportgenerator command from Azure DevOps pipeline like this
reportgenerator -reports:$(Agent.WorkFolder)/_temp/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/CodeCoverage -reporttypes:'HtmlInline_AzurePipelines;Cobertura'
and I'm getting this error related to the report types while the report types used are in the list of supported ones
2024-02-26T16:06:28: Unknown report type ''HtmlInline_AzurePipelines'. 2024-02-26T16:06:28: Unknown report type 'Cobertura''.
Version of Report Generator: 5.2.2
.NET version: 8.0.200