File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -35,23 +35,5 @@ steps:
3535 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'
3636 publishTestResults : false
3737
38- - task : DotNetCoreCLI@2
39- displayName : ' Rodando SonarScanner '
40- inputs :
41- command : custom
42- custom : tool
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)"'
38+ - 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=.\TestResults\coverage.json dotnet build –no-incremental dotnet sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"
39+ displayName : ' Rodando SonarScanner '
You can’t perform that action at this time.
0 commit comments