Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Adding coverage output to build output
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 22, 2019
1 parent 37d470e commit 195ce00
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .azure-pipelines/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,16 @@ steps:
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: coverage/cobertura-coverage.xml
condition: succeededOrFailed()
condition: succeededOrFailed()

- task: CopyFiles@2
inputs:
sourceFolder: '$(Build.SourcesDirectory)/coverage'
targetFolder: $(Build.ArtifactStagingDirectory)
displayName: 'Copy coverage output'

- task: PublishPipelineArtifact@0
displayName: 'Publish Coverage Artifact'
inputs:
targetPath: $(Build.ArtifactStagingDirectory)
artifactName: coverage

0 comments on commit 195ce00

Please # to comment.