Azure DevOps is overwriting the code coverage result tab

Anonymous
2024-10-24T02:56:12+00:00

Hi Microsoft support,

There's seem to be an issue with the way Azure DevOps render the code coverage report from my .NET application, When I first ran the Azure pipeline to generate the code coverage report, Azure DevOps rendered an HTML report in the Code Coverage tab like in this picture

A first I'm guessing the pipeline will continue using this HTML format to view the code coverage, but I was wrong Azure DevOps completely rewrite the report with their own format making it look like this for the next subsequent run

I'm unaware of this behavior and it's really annoying, in the document there is no mentioning about using HTML format, when my test also generate HTML format. Can you guys help me fix this issue?

Here is my pipeline template to publish the report

          - task: PublishCodeCoverageResults@2 displayName: "Publish code coverage"inputs:codeCoverageTool: CoberturasummaryFileLocation: "${{ parameters.srcDirectory }}/results/*.xml"continueOnError: true

Windows for business | Windows Server | Windows cloud | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-24T07:03:58+00:00

    Hi Sven Ikea,

    Thank you for posting on the Microsoft Community Forum.

    From the description above, I understand that your question is about Azure.

    Since there are no developers working with Azure on this forum. For quick and efficient handling of your problem, I recommend asking your question again in the Q&A forum, where a dedicated technician will give you a professional and efficient answer.

    Here is the link to the Q&A forum.

    Q&A - Microsoft Q&A

    Click the "Ask a question" button at upper right corner to ask your question, and select "Azure" tag and other tags related to your productions.

    I hope the above information is helpful.

    If you have any questions or concerns, please feel free to let us know.

    All the best

    Neuvi Jiang

    0 comments No comments