Update internal pool for builds from main branch (#4106)
This commit is contained in:
Родитель
3326c92396
Коммит
204d9b44e1
|
@ -16,3 +16,6 @@ stages:
|
|||
parameters:
|
||||
internalProjectName: ${{ variables.internalProjectName }}
|
||||
publicProjectName: ${{ variables.publicProjectName }}
|
||||
linuxAmd64Pool:
|
||||
name: NetCore1ESPool-Svc-Internal
|
||||
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
||||
|
|
|
@ -5,6 +5,7 @@ parameters:
|
|||
noCache: false
|
||||
internalProjectName: null
|
||||
publicProjectName: null
|
||||
linuxAmd64Pool: ""
|
||||
|
||||
stages:
|
||||
- template: ../../common/templates/stages/dotnet/build-test-publish-repo.yml
|
||||
|
@ -12,6 +13,7 @@ stages:
|
|||
noCache: ${{ parameters.noCache }}
|
||||
internalProjectName: ${{ parameters.internalProjectName }}
|
||||
publicProjectName: ${{ parameters.publicProjectName }}
|
||||
linuxAmd64Pool: ${{ parameters.linuxAmd64Pool }}
|
||||
${{ if or(eq(variables['System.TeamProject'], parameters.publicProjectName), and(eq(variables['System.TeamProject'], parameters.internalProjectName), eq(variables['Build.Reason'], 'PullRequest'))) }}:
|
||||
buildMatrixType: platformVersionedOs
|
||||
buildMatrixCustomBuildLegGroupArgs: --custom-build-leg-group pr-build --custom-build-leg-group test-dependencies
|
||||
|
|
Загрузка…
Ссылка в новой задаче