From d932fe8a10cca7a783fa27fc4c3658f11d921be4 Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Tue, 7 Jul 2020 11:47:57 +0300 Subject: [PATCH] Move pool info to variables --- azure-pipelines/get-tool-versions.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/azure-pipelines/get-tool-versions.yml b/azure-pipelines/get-tool-versions.yml index d4fe2e1..629c224 100644 --- a/azure-pipelines/get-tool-versions.yml +++ b/azure-pipelines/get-tool-versions.yml @@ -15,14 +15,18 @@ schedules: - master always: true +variables: + PoolName: 'Azure Pipelines' + VmImage: 'ubuntu-18.04' + stages: - stage: Get_New_Versions dependsOn: [] jobs: - job: Get_Tool_Versions pool: - name: Azure Pipelines - vmImage: 'ubuntu-18.04' + name: $(PoolName) + vmImage: $(VmImage) steps: - template: /azure-pipelines/templates/get-tool-versions-steps.yml @@ -31,8 +35,8 @@ stages: jobs: - deployment: Run_Builds pool: - name: Azure Pipelines - vmImage: 'ubuntu-18.04' + name: $(PoolName) + vmImage: $(VmImage) variables: ToolVersions: $[ stageDependencies.Get_New_Versions.Get_Tool_Versions.outputs['Get_versions.TOOL_VERSIONS'] ] timeoutInMinutes: 180