File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,14 @@ steps:
4141 arguments : ' --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutput=../TestResults/ /p:CoverletOutputFormat="json%2ccobertura" /p:MergeWith=../TestResults/coverage.json /p:ThresholdType=branch /p:Threshold=$(codeCoverageBranchThreshold) /p:ThresholdStat=total'
4242 publishTestResults : false
4343
44- - script : ' dotnet sonarscanner begin /k:"$(SONAR_PROJECT_KEY)" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$(SONAR_TOKEN)" /d:sonar.cs.dotcover.reportsPaths=dotCover.Output.html
45- dotnet build –no-incremental
46- dotnet dotcover test --dcReportType=HTML
47- dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"'
44+ - script : dotnet sonarscanner begin /k:"$(SONAR_PROJECT_KEY)" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$(SONAR_TOKEN)" /d:sonar.cs.dotcover.reportsPaths=dotCover.Output.html
45+ displayName : ' Rodando SonarScanner '
46+
47+ - script : dotnet build –no-incremental
48+ displayName : ' Rodando SonarScanner '
49+
50+ - script : dotnet dotcover test --dcReportType=HTML
51+ displayName : ' Rodando SonarScanner '
52+
53+ - script : dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"
4854 displayName : ' Rodando SonarScanner '
You can’t perform that action at this time.
0 commit comments