pull/18/head
Maxim Lobanov 4 years ago
parent d61f870ac7
commit e1cbdde483

@ -32,7 +32,6 @@ stages:
- stage: Trigger_Builds - stage: Trigger_Builds
dependsOn: Get_New_Versions dependsOn: Get_New_Versions
condition: and(succeeded(), ne(stageDependencies.Get_New_Versions.Get_Tool_Versions.outputs['Get_versions.TOOL_VERSIONS'], ''))
jobs: jobs:
- deployment: Run_Builds - deployment: Run_Builds
pool: pool:
@ -40,6 +39,7 @@ stages:
vmImage: $(VmImage) 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'] ]
condition: and(succeeded(), ne(stageDependencies.Get_New_Versions.Get_Tool_Versions.outputs['Get_versions.TOOL_VERSIONS'], ''))
timeoutInMinutes: 180 timeoutInMinutes: 180
environment: 'Get Available Tools Versions - Publishing Approval' environment: 'Get Available Tools Versions - Publishing Approval'
strategy: strategy:

@ -21,7 +21,7 @@ $VersionsToBuild = $VersionsFromDist | Where-Object { $VersionsFromManifest -not
if ($VersionsToBuild) { if ($VersionsToBuild) {
$availableVersions = $VersionsToBuild -join ", " $availableVersions = $VersionsToBuild -join ", "
Write-Host "The following versions are available to build:`n${availableVersions}" Write-Host "The following versions are available to build:`n${availableVersions}"
Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isoutput=true]${availableVersions}" Write-Host "##vso[task.setvariable variable=TOOL_VERSIONS;isOutput=true]${availableVersions}"
} else { } else {
Write-Host "There aren't versions to build" Write-Host "There aren't versions to build"
} }

Loading…
Cancel
Save