We are using below task definition to publish coburtura test coverage report to pipeline.
- task: PublishCodeCoverageResults@2
displayName: 'Publish code coverage results'
condition: eq(variables['isTestRun'], 'true')
continueOnError: true
timeoutInMinutes: 1
inputs:
summaryFileLocation: $(Build.Repository.LocalPath)/$(Build.Repository.Name)/coverage/coverage/cobertura.xml
env:
NODE_NO_WARNINGS: 1
Untill 10th Feb, this task was using v2.48.1 and it was working fine.
Since it is upgraded to v2.52.1, we are getting below error:
Starting: Publish code coverage results
==============================================================================
Task : Publish code coverage results v2
Description : Publish any of the code coverage results from a build
Version : 2.252.1
Author : Microsoft Corporation
Help :
==============================================================================
Found 1 result(s) matching pattern: /azp/agent/_work/1/s/salesforce-wealth-/coverage/coverage/cobertura.xml
/azp/agent/_work/1/s/salesforce-wealth-/coverage/coverage/cobertura.xml
/azp/agent/_work/_tasks/PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97/2.252.1/node_modules/coveragepublisher/CoveragePublisher/linux-x64/CoveragePublisher.Console /azp/agent/_work/1/s/salesforce-wealth-/coverage/coverage/cobertura.xml --reportDirectory /azp/agent/_work/_temp/0a0d089f-75a7-40bc-a847-a572b2750583
##[error]The task has timed out.
Finishing: Publish code coverage results
Please could someone confirm if they are also facing similar issue, and how to fix it?