From cb31933415bf6ed94e221b93a00e121fecb07d9d Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Tue, 23 Jul 2024 18:48:47 +0200 Subject: [PATCH] [INTERNAL] azure: Migrate to task 'PublishCodeCoverageResults' version 2 For further info, see https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 63fefdccc..605cbeff9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -61,11 +61,10 @@ steps: testResultsFormat: 'JUnit' testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml' -- task: PublishCodeCoverageResults@1 +- task: PublishCodeCoverageResults@2 displayName: Publish Test Coverage Results condition: succeededOrFailed() inputs: - codeCoverageTool: 'cobertura' summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml' - script: npm run coverage