File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ variables:
88 prPipeline : $[eq(variables['Build.Reason'], 'PullRequest')]
99
1010steps :
11+ - task : NuGetCommand@2
12+ displayName : ' NuGet restore'
13+ inputs :
14+ restoreSolution : AzureDevopsTracker.csproj
15+ feedsToUse : config
16+ nugetConfigPath : packages.config
17+
1118- task : SonarSource.sonarcloud.14d9cde6-c1da-4d55-aa01-2965cd301255.SonarCloudPrepare@1
1219 displayName : ' Prepare analysis on SonarCloud'
1320 inputs :
@@ -25,6 +32,11 @@ steps:
2532 script : dotnet test --configuration $(BuildConfiguration) /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --collect "Code Coverage" /p:Exclude=[xunit.*]*
2633 displayName : ' Run Tests'
2734
35+ - task : NuGetCommand@2
36+ displayName : ' NuGet pack'
37+ inputs :
38+ command : pack
39+
2840- task : SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
2941 displayName : ' Run Code Analysis'
3042
You can’t perform that action at this time.
0 commit comments