#2084: maybe pointing to different source might help
This commit is contained in:
@@ -108,24 +108,12 @@ stages:
|
||||
testResultsFiles: 'junit/**.xml'
|
||||
testRunTitle: 'Publish test results'
|
||||
|
||||
- script: |
|
||||
echo '$(System.DefaultWorkingDirectory)' && pwd && ls
|
||||
displayName: 'debug root'
|
||||
|
||||
- script: |
|
||||
cd $(System.DefaultWorkingDirectory)/htmlcov && pwd && ls
|
||||
displayName: 'debug htmlcov'
|
||||
|
||||
- script: |
|
||||
cat $(System.DefaultWorkingDirectory)/coverage.xml
|
||||
displayName: 'debug coverage file'
|
||||
|
||||
- task: PublishCodeCoverageResults@1
|
||||
displayName: 'Publish coverage report'
|
||||
inputs:
|
||||
codeCoverageTool: Cobertura
|
||||
summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage.xml
|
||||
pathToSources: $(System.DefaultWorkingDirectory)/src/
|
||||
pathToSources: $(System.DefaultWorkingDirectory)/
|
||||
reportDirectory: $(System.DefaultWorkingDirectory)/htmlcov
|
||||
additionalCodeCoverageFiles: $(System.DefaultWorkingDirectory)/htmlcov/*.*
|
||||
failIfCoverageEmpty: true
|
||||
|
||||
Reference in New Issue
Block a user