From e1cbdde483d858e11abafb4d8a720f0fdd4714f2 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Wed, 16 Dec 2020 10:40:09 +0300 Subject: [PATCH] test --- azure-pipelines/get-tool-versions.yml | 2 +- get-new-tool-versions/get-new-tool-versions.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines/get-tool-versions.yml b/azure-pipelines/get-tool-versions.yml index 5475427..8dba196 100644 --- a/azure-pipelines/get-tool-versions.yml +++ b/azure-pipelines/get-tool-versions.yml @@ -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: diff --git a/get-new-tool-versions/get-new-tool-versions.ps1 b/get-new-tool-versions/get-new-tool-versions.ps1 index bce5407..e2f0474 100644 --- a/get-new-tool-versions/get-new-tool-versions.ps1 +++ b/get-new-tool-versions/get-new-tool-versions.ps1 @@ -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" }