#2084: maybe pointing to different source might help

This commit is contained in:
Czar Echavez
2023-12-01 14:58:22 +00:00
parent 656cb03b16
commit d6fedf0079

View File

@@ -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