From af8401440d7d7dfc2da6dc39f3b5deb5d5c46030 Mon Sep 17 00:00:00 2001 From: Czar Echavez Date: Fri, 1 Dec 2023 16:29:05 +0000 Subject: [PATCH] #2084: using v2 publish codecov --- .azure/azure-ci-build-pipeline.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index a59c5593..11d53d73 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -111,12 +111,9 @@ stages: - publish: $(System.DefaultWorkingDirectory)/htmlcov/ artifact: coverage_report - - task: PublishCodeCoverageResults@1 + - task: PublishCodeCoverageResults@2 displayName: 'Publish coverage report' inputs: codeCoverageTool: Cobertura summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage.xml' - pathToSources: '$(System.DefaultWorkingDirectory)/src' - # reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov/' - # additionalCodeCoverageFiles: '$(System.DefaultWorkingDirectory)/**/htmlcov/*.*' failIfCoverageEmpty: true