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

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

@ -21,7 +21,7 @@ $VersionsToBuild = $VersionsFromDist | Where-Object { $VersionsFromManifest -not
if ($VersionsToBuild) {
$availableVersions = $VersionsToBuild -join ", "
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 {
Write-Host "There aren't versions to build"
}

Loading…
Cancel
Save