File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313 # Additional properties that will be passed to the scanner,
1414 # Put one key=value per line, example:
1515 # sonar.exclusions=**/*.bin
16- sonar.coverageReportPaths=. /sonarqubecoverage/SonarQube.xml
16+ sonar.coverageReportPaths='$(Build.SourcesDirectory)/** /sonarqubecoverage/SonarQube.xml
1717
1818 - task : CmdLine@2
1919 inputs :
@@ -42,10 +42,10 @@ steps:
4242# #assemblyfilters: '-xunit\*'
4343
4444- task : PublishCodeCoverageResults@1
45- displayName : ' Publish code coverage from $(Build.SourcesDirectory)/**/TestResults/*/coverage.cobertura .xml'
45+ displayName : ' Publish code coverage from $(Build.SourcesDirectory)/**/SonarQube .xml'
4646 inputs :
4747 codeCoverageTool : Cobertura
48- summaryFileLocation : ' $(Build.SourcesDirectory)/**/TestResults/*/Cobertura .xml'
48+ summaryFileLocation : ' $(Build.SourcesDirectory)/**/SonarQube .xml'
4949
5050- task : SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
5151 displayName : ' Run Code Analysis'
You can’t perform that action at this time.
0 commit comments