Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions eng/pipelines/templates/jobs/ci.mgmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ jobs:
steps:
#- script: "echo $(system.pullrequest.pullrequestnumber), https://github.com/$(build.repository.id), https://github.com/$(build.repository.ID)"
- template: /eng/pipelines/templates/steps/install-dotnet.yml
- task: UseDotNet@2
displayName: 'Use .NET Core 3.1 SDK' # We still need .NET Core 3.1 for .NET Track 1 SDK
retryCountOnTaskFailure: 3
inputs:
# AspNetCore runtime pack can't be installed outside of SDK and we need it for intergation tests
packageType: sdk
performMultiLevelLookup: true
version: "3.1.x"
- script: |
if "$(BuildConfiguration)" == "Release" (set SkipTests=true) else (set SkipTests=false)
dotnet msbuild mgmt.proj /v:m /t:CreateNugetPackage /p:Configuration=$(BuildConfiguration) /p:SkipTests=%SkipTests% /p:PackageOutputPath=$(Build.ArtifactStagingDirectory) /p:Scope=${{ parameters.Scope }} /p:ForPublishing=${{ parameters.ShouldPublish }} $(loggingArgs) $(RPScopeArgs)"
Expand Down Expand Up @@ -70,6 +78,14 @@ jobs:
AgentImage: $(OSVmImage)
- script: "echo $(system.pullrequest.pullrequestnumber), https://github.com/$(build.repository.id), https://github.com/$(build.repository.ID)"
- template: /eng/pipelines/templates/steps/install-dotnet.yml
- task: UseDotNet@2
displayName: 'Use .NET Core 3.1 SDK' # We still need .NET Core 3.1 for .NET Track 1 SDK
retryCountOnTaskFailure: 3
inputs:
# AspNetCore runtime pack can't be installed outside of SDK and we need it for intergation tests
packageType: sdk
performMultiLevelLookup: true
version: "3.1.x"
- script: "dotnet msbuild mgmt.proj /v:n /t:RunTests /p:Scope=${{ parameters.Scope }} /p:ForPublishing=${{ parameters.ShouldPublish }} /clp:ShowtimeStamp $(RPScopeArgs)"
displayName: "Build & Run Tests"
- task: PublishTestResults@2
Expand Down