Skip to content

Commit

Permalink
Merge pull request Azure#297 from Azure/daschult/publishcoverage
Browse files Browse the repository at this point in the history
Update test result and code coverage paths
  • Loading branch information
Dan Schulte authored Dec 14, 2018
2 parents 9d09e91 + c77ca50 commit 721fa39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions azure-pipelines-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
- script: 'npm test'
- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-results.xml'
testResultsFiles: '$(System.DefaultWorkingDirectory)/test-results.xml'
testRunTitle: 'Test results for JavaScript'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/*coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/**/coverage'
summaryFileLocation: '$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/coverage/'
failIfCoverageEmpty: true

0 comments on commit 721fa39

Please sign in to comment.