From 1b966031cca8e4f62c3cbc6c429cc1beaa97f77a Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Wed, 16 Dec 2020 11:31:23 +0300 Subject: [PATCH] Update get-tool-versions.yml --- azure-pipelines/get-tool-versions.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines/get-tool-versions.yml b/azure-pipelines/get-tool-versions.yml index 6d19b3b..693a09a 100644 --- a/azure-pipelines/get-tool-versions.yml +++ b/azure-pipelines/get-tool-versions.yml @@ -37,9 +37,12 @@ stages: pool: name: $(PoolName) vmImage: $(VmImage) + variables: + # map the output variable from A into this job + ToolVersions: $[ stageDependencies.Find_New_Versions.Find_New_Versions.outputs['Get_versions.TOOL_VERSIONS'] ] steps: - pwsh: | - $NewVersions = "$[ stageDependencies.Find_New_Versions.Find_New_Versions.outputs['Get_versions.TOOL_VERSIONS'] ]".Trim() + $NewVersions = "$(ToolVersions)" if ($NewVersions) { Write-Host "The following versions were found: $NewVersions" } else {