Skip to content

Commit 01953d5

Browse files
committed
Update adt_pull_request.yml for Azure Pipelines
1 parent 2dbf937 commit 01953d5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

adt_pull_request.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,5 @@ 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 dotnet build –no-incremental dotnet dotcover test --dcReportType=HTML dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"'
4845
displayName: 'Rodando SonarScanner '

0 commit comments

Comments
 (0)