Skip to content

[BUG]: Support osx-arm64 hosts in PublishCodeCoverageResults@2 #21339

@albyrock87

Description

@albyrock87

New issue checklist

Task name

PublishCodeCoverageResults@2

Task version

2.259.0

Issue Description

The task succeeds on macos arm64 hosts but without actually doing any work (so no code coverage HTML generated / uploaded).

This is the reason:
microsoft/azure-pipelines-coveragepublisher#95

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

MacOS ARM64

Relevant log output

Starting: Publish code coverage report
==============================================================================
Task         : Publish code coverage results v2
Description  : Publish any of the code coverage results from a build
Version      : 2.259.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-code-coverage-results
==============================================================================
Found 1 result(s) matching pattern: /Users/ec2-user/myagent/_work/1/s/CodeCoverage/Cobertura.xml
/Users/ec2-user/myagent/_work/1/s/CodeCoverage/Cobertura.xml
/Users/ec2-user/myagent/_work/_tasks/PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97/2.259.0/node_modules/coveragepublisher/CoveragePublisher/osx-x64/CoveragePublisher.Console /Users/ec2-user/myagent/_work/1/s/CodeCoverage/Cobertura.xml --reportDirectory /Users/ec2-user/myagent/_work/_temp/caf934a8-bf46-4f55-90a1-c9eb42c8ee1c
Finishing: Publish code coverage report

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions