Last active
September 9, 2020 14:07
-
-
Save jamesmcroft/40bfe0cd5068969f827b685ad084cf99 to your computer and use it in GitHub Desktop.
A snippet of a pipelines YAML showing the ReportGenerator tool in use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- task: reportgenerator@4 | |
inputs: | |
reports: '$(Build.SourcesDirectory)/**/*.cobertura.xml' | |
targetdir: '$(Build.SourcesDirectory)/CoverageResults' | |
- task: PublishCodeCoverageResults@1 | |
displayName: 'Publish code coverage' | |
inputs: | |
codeCoverageTool: Cobertura | |
summaryFileLocation: '$(Build.SourcesDirectory)/CoverageResults/Cobertura.xml' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment