Update PublishCodeCoverageResults task to v2 (#37394)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
This commit is contained in:
Родитель
345350b3e6
Коммит
72abbdffc4
|
@ -49,10 +49,9 @@ steps:
|
|||
testResultsFiles: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}/testResults.xml
|
||||
testRunTitle: $(System.StageName)_$(Agent.JobName)_Tests
|
||||
|
||||
- task: PublishCodeCoverageResults@1
|
||||
- task: PublishCodeCoverageResults@2
|
||||
displayName: Publish Code Coverage to Azure DevOps
|
||||
condition: succeededOrFailed()
|
||||
inputs:
|
||||
codeCoverageTool: JaCoCo
|
||||
summaryFileLocation: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}/coverage.xml
|
||||
pathToSources: $(Build.SourcesDirectory)/${{ parameters.TargetDirectory }}
|
Загрузка…
Ссылка в новой задаче