Skip to content

Commit

Permalink
PublishCodeCoverageResults
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilman Reinhardt committed Nov 28, 2022
1 parent 94cac40 commit 667c080
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ steps:
summaryFileLocation: '$(System.DefaultWorkingDirectory)/results/gsagh/**/coverage.cobertura.xml'
pathToSources: '$(System.DefaultWorkingDirectory)'

- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: '$(System.DefaultWorkingDirectory)/results/integration/**/coverage.cobertura.xml'
pathToSources: '$(System.DefaultWorkingDirectory)'

- powershell: |
$coverage_file_gsagh = (Resolve-Path $(System.DefaultWorkingDirectory)/results/gsagh/*/coverage.cobertura.xml).Path
echo $coverage_file_gsagh
Expand Down

0 comments on commit 667c080

Please sign in to comment.