From 91af7889f39791d647deadf8847a9c90e0678686 Mon Sep 17 00:00:00 2001 From: bothzoli Date: Mon, 6 Jan 2025 11:07:10 +1000 Subject: [PATCH] Update PublishCodeCoverageResults to v2 --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ee7e5822a..52ef5d1cd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -79,13 +79,13 @@ stages: inputs: testResultsFiles: '**/*.trx' testResultsFormat: VSTest - - task: PublishCodeCoverageResults@1 + - task: PublishCodeCoverageResults@2 displayName: "Publish Code Coverage" condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest'))) inputs: codeCoverageTool: 'Cobertura' summaryFileLocation: '$(Build.SourcesDirectory)/src/Tests/TestResults/*/coverage.cobertura.xml' - - task: PublishCodeCoverageResults@1 + - task: PublishCodeCoverageResults@2 displayName: "Publish PR Code Coverage" condition: and(succeeded(), eq(variables['build.reason'], 'PullRequest')) inputs: