File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff 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)"'
You can’t perform that action at this time.
0 commit comments