I followed the instructions on http://tdc1tfsapp01:8080/tfs/DefaultCollection/SharpTop/_packaging?_a=package&feed=dayforce&package=OrchardCore.Cms.Web&version=1.0.20098.7+1bcd36b1f8efd5484af49f8ec39c21060a64391e&protocolType=NuGet and it does produce a binary coverage result file and surfaces a link to it on the build.
But, I want to convert it to Cobertura in order to publish on the build itself. It is a rather convoluted process, where one needs to:
- Download the https://www.nuget.org/packages/Microsoft.CodeCoverage/ package and locate CodeCoverage.exe inside.
- Run CodeCoverage.exe to convert the binary coverage result to the respective XML.
- Install the reportgenerator dotnet tool
- Run the reportgenerator tool to convert that XML to Cobertura
- Finally we can publish to the build
My problem is that I do not know where the binary result is placed during the build. So, my question is - can we customize its location?