Skip to content

Commit c20b559

Browse files
committed
Update adt_pull_request.yml for Azure Pipelines
1 parent e1cf3d1 commit c20b559

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

adt_pull_request.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,18 @@ steps:
4040
inputs:
4141
command: custom
4242
custom: tool
43-
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=.\TestResults\coverage.json dotnet build –no-incremental dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"'
43+
arguments: 'sonarscanner begin /k:"$(SONAR_PROJECT_KEY)" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$(SONAR_TOKEN)" /d:sonar.cs.dotcover.reportsPaths=.\TestResults\coverage.json'
44+
45+
- task: DotNetCoreCLI@2
46+
displayName: 'Rodando SonarScanner '
47+
inputs:
48+
command: custom
49+
custom: tool
50+
arguments: 'dotnet build –no-incremental'
51+
52+
- task: DotNetCoreCLI@2
53+
displayName: 'Rodando SonarScanner '
54+
inputs:
55+
command: custom
56+
custom: tool
57+
arguments: 'sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"'

0 commit comments

Comments
 (0)