Move pool info to variables

pull/7/head
MaksimZhukov 5 years ago
parent ae9f5f8f55
commit d932fe8a10

@ -15,14 +15,18 @@ schedules:
- master - master
always: true always: true
variables:
PoolName: 'Azure Pipelines'
VmImage: 'ubuntu-18.04'
stages: stages:
- stage: Get_New_Versions - stage: Get_New_Versions
dependsOn: [] dependsOn: []
jobs: jobs:
- job: Get_Tool_Versions - job: Get_Tool_Versions
pool: pool:
name: Azure Pipelines name: $(PoolName)
vmImage: 'ubuntu-18.04' vmImage: $(VmImage)
steps: steps:
- template: /azure-pipelines/templates/get-tool-versions-steps.yml - template: /azure-pipelines/templates/get-tool-versions-steps.yml
@ -31,8 +35,8 @@ stages:
jobs: jobs:
- deployment: Run_Builds - deployment: Run_Builds
pool: pool:
name: Azure Pipelines name: $(PoolName)
vmImage: 'ubuntu-18.04' vmImage: $(VmImage)
variables: variables:
ToolVersions: $[ stageDependencies.Get_New_Versions.Get_Tool_Versions.outputs['Get_versions.TOOL_VERSIONS'] ] ToolVersions: $[ stageDependencies.Get_New_Versions.Get_Tool_Versions.outputs['Get_versions.TOOL_VERSIONS'] ]
timeoutInMinutes: 180 timeoutInMinutes: 180

Loading…
Cancel
Save