From 3f711ef6dcd730fc0a0757c35e13d3d262fb5d82 Mon Sep 17 00:00:00 2001 From: Aasim Khan Date: Mon, 28 Feb 2022 13:02:39 -0800 Subject: [PATCH] Using custom 1ES pool for running build pipelines. (#1414) * Enable trimming to reduce package size * trimming kusto * Trying a new pool * Fixing yaml errors * Removing package trimming * Removing formatting changes * Using specific image * Fixing formatting * Fixing yml syntax --- azure-pipelines/build-and-release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/azure-pipelines/build-and-release.yml b/azure-pipelines/build-and-release.yml index 4606aa7c..513e066a 100644 --- a/azure-pipelines/build-and-release.yml +++ b/azure-pipelines/build-and-release.yml @@ -5,11 +5,10 @@ stages: - stage: Build jobs: - job: Build - pool: - vmImage: 'windows-latest' - demands: - - Cmd - - npm + pool: + name: 'ads-build-1es-hosted-pool' + demands: + - ImageOverride -equals ADS-Windows_Image steps: - template: build.yml @@ -20,8 +19,10 @@ stages: dependsOn: - Build condition: and(succeeded(), eq(variables['RELEASE'], 'true')) - pool: - vmImage: 'Ubuntu-18.04' + pool: + name: 'ads-build-1es-hosted-pool' + demands: + - ImageOverride -equals ADS-Linux_Image jobs: - job: Release steps: