You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed this same issue. With more than 1400 files, it REALLY slows things down a lot. At first I thought it was because it was detecting 2 identical .cobertura.xml files in different folders, but even when I fixed that using the code below the duplicate file generate still occurred:
- task: PublishCodeCoverageResults@2
displayName: 'Publish code coverage results'
inputs:
# don't use "CoverageResults\**\*cobertura.xml" as it will find duplicate files in the output tree and thus take twice as long to publish.
summaryFileLocation: '$(Build.SourcesDirectory)\CoverageResults\*\*cobertura.xml'
failIfCoverageEmpty: 'false'
I found that coverage publisher has unexpected behaviour in my case. My log at azuredevops PublishCodeCoverageResults@2 is following:
As a result I have 2 summary folders published with the same coverage files.
I guess the first call of
GenerateHTMLReport
is redundant and should not be called.Version:
The text was updated successfully, but these errors were encountered: