Skip to content

Commit 72abbdf

Browse files
Update PublishCodeCoverageResults task to v2 (#37394)
Co-authored-by: Wes Haggard <[email protected]>
1 parent 345350b commit 72abbdf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

eng/common/pipelines/templates/steps/run-pester-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ steps:
4949
testResultsFiles: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}/testResults.xml
5050
testRunTitle: $(System.StageName)_$(Agent.JobName)_Tests
5151

52-
- task: PublishCodeCoverageResults@1
52+
- task: PublishCodeCoverageResults@2
5353
displayName: Publish Code Coverage to Azure DevOps
5454
condition: succeededOrFailed()
5555
inputs:
56-
codeCoverageTool: JaCoCo
5756
summaryFileLocation: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}/coverage.xml
58-
pathToSources: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}
57+
pathToSources: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}

0 commit comments

Comments
 (0)