Skip to content

Commit 401cd9a

Browse files
committed
Update adt_pull_request.yml for Azure Pipelines
1 parent c1923cf commit 401cd9a

File tree

1 file changed

+28
-21
lines changed

1 file changed

+28
-21
lines changed

adt_pull_request.yml

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,40 @@ steps:
2121
performMultiLevelLookup: true
2222
includePreviewVersions: true # Required
2323

24-
- task: DotNetCoreCLI@2
25-
displayName: Install dotnet-ef
26-
inputs:
27-
command: 'custom'
28-
custom: 'tool'
29-
arguments: 'install --global dotnet-ef'
24+
#- task: DotNetCoreCLI@2
25+
# displayName: Install dotnet-ef
26+
# inputs:
27+
# command: 'custom'
28+
# custom: 'tool'
29+
# arguments: 'install --global dotnet-ef'
3030

31-
- task: DotNetCoreCLI@2
32-
displayName: Check dotnet-ef version
31+
#- task: DotNetCoreCLI@2
32+
# displayName: Check dotnet-ef version
33+
# inputs:
34+
# command: 'custom'
35+
# custom: 'ef'
36+
# arguments: '--version'
37+
38+
- task: CmdLine@2
39+
displayName: 'Instalando dotnet-ef'
3340
inputs:
34-
command: 'custom'
35-
custom: 'ef'
36-
arguments: '--version'
41+
script: 'dotnet tool install --global dotnet-ef'
42+
#workingDirectory: # Optional
43+
#failOnStderr: false # Optional
3744

38-
- task: NuGetCommand@2
45+
- task: CmdLine@2
3946
displayName: 'Instalando sonarscanner'
4047
inputs:
41-
command: 'custom'
42-
custom: 'tool'
43-
arguments: 'install --global dotnet-sonarscanner --version 5.8.0'
44-
45-
- task: NuGetCommand@2
46-
displayName: 'Instalando dotCover'
48+
script: 'dotnet tool install --global dotnet-sonarscanner'
49+
#workingDirectory: # Optional
50+
#failOnStderr: false # Optional
51+
52+
- task: CmdLine@2
53+
displayName: 'Instalando sonarscanner'
4754
inputs:
48-
command: custom
49-
custom: 'tool'
50-
arguments: 'install JetBrains.dotCover.GlobalTool'
55+
script: 'dotnet tool install --global JetBrains.dotCover.GlobalTool'
56+
#workingDirectory: # Optional
57+
#failOnStderr: false # Optional
5158

5259
- task: DotNetCoreCLI@2
5360
displayName: Build

0 commit comments

Comments
 (0)