diff --git a/azure-pipelines-richnav.yml b/azure-pipelines-richnav.yml index d1c19896907..8c94b7fed42 100644 --- a/azure-pipelines-richnav.yml +++ b/azure-pipelines-richnav.yml @@ -2,6 +2,9 @@ trigger: - master - main +variables: +- template: /eng/common/templates/variables/pool-providers.yml + stages: - stage: build displayName: Build @@ -16,7 +19,7 @@ stages: enableRichCodeNavigation: true richCodeNavigationEnvironment: 'production' pool: - name: NetCore-Public + name: $(DncEngPublicBuildPool) demands: ImageOverride -equals windows.vs2022preview.amd64.open steps: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 04910f06d94..8ba94c0ec10 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -157,13 +157,15 @@ stages: - stage: PublishAssetRegistry displayName: Publish to Build Asset Registry dependsOn: Build + variables: + - template: /eng/common/templates/variables/pool-providers.yml jobs: # Publish to Build Asset Registry in order to generate the ReleaseConfigs artifact. - template: /eng/common/templates/job/publish-build-assets.yml parameters: publishUsingPipelines: true pool: - name: NetCore1ESPool-Internal + name: $(DncEngInternalBuildPool) demands: ImageOverride -equals windows.vs2022preview.amd64 diff --git a/eng/pipelines/azure-pipelines-codeql.yml b/eng/pipelines/azure-pipelines-codeql.yml index 9dc037c0361..9320e2a6074 100644 --- a/eng/pipelines/azure-pipelines-codeql.yml +++ b/eng/pipelines/azure-pipelines-codeql.yml @@ -24,6 +24,7 @@ variables: value: Release - name: NativeToolsOnMachine value: true +- template: /eng/common/templates/variables/pool-providers.yml trigger: none @@ -41,7 +42,7 @@ jobs: - job: codeql displayName: CodeQL pool: - name: NetCore1ESPool-Internal + name: $(DncEngInternalBuildPool) demands: ImageOverride -equals 1es-windows-2022 timeoutInMinutes: 90 diff --git a/eng/pipelines/build.yml b/eng/pipelines/build.yml index a296cc71f45..e02f8cf6125 100644 --- a/eng/pipelines/build.yml +++ b/eng/pipelines/build.yml @@ -12,12 +12,14 @@ jobs: - job: ${{ parameters.name }} displayName: ${{ parameters.name }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} + variables: + - template: /eng/common/templates/variables/pool-providers.yml pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: NetCore-Public + name: $(DncEngPublicBuildPool) demands: ImageOverride -equals windows.vs2022preview.amd64.open ${{ if ne(variables['System.TeamProject'], 'public') }}: - name: NetCore1ESPool-Internal + name: $(DncEngInternalBuildPool) demands: ImageOverride -equals windows.vs2022preview.amd64 strategy: matrix: