ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
Describe the bug
It seems like there is an issue with the new task option publishCodeCoverageResults and relative paths. If targetdir is a relative path (like shown in the recommendation in the task's readme) the publishing fails.
To Reproduce
Create a Azure DevOps build pipeline with a task like this:
Describe the bug It seems like there is an issue with the new task option
publishCodeCoverageResults
and relative paths. Iftargetdir
is a relative path (like shown in the recommendation in the task's readme) the publishing fails.To Reproduce
targetdir: '$(Agent.TempDirectory)/coveragereport'
Log for the failed run: