Skip to content

Commit 3c13a01

Browse files
committed
Update adt_pull_request.yml for Azure Pipelines
1 parent d65c048 commit 3c13a01

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

adt_pull_request.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,10 @@ steps:
6464
projects: '**/*[Tt]ests/*.csproj'
6565
arguments: '--configuration $(BuildConfiguration) --collect "Code Coverage"'
6666

67-
- task: DotNetCoreCLI@2
67+
- task: CmdLine@2
6868
displayName: 'Rodando SonarScanner '
6969
inputs:
70-
command: custom
71-
custom: tool
72-
arguments: '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
70+
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
7371
dotnet build –no-incremental
7472
dotnet dotcover test --dcReportType=HTML
75-
dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"'
73+
dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"'

0 commit comments

Comments
 (0)