From 02634900f8c1733cb1152df51cedede271129348 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 11 Jan 2021 10:46:42 -0800 Subject: [PATCH] Fix condition for test generation in prepare-pipelines (#18537) Co-authored-by: Wes Haggard --- eng/common/pipelines/templates/steps/prepare-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/pipelines/templates/steps/prepare-pipelines.yml b/eng/common/pipelines/templates/steps/prepare-pipelines.yml index c2baf157e6b47..3632f56503b51 100644 --- a/eng/common/pipelines/templates/steps/prepare-pipelines.yml +++ b/eng/common/pipelines/templates/steps/prepare-pipelines.yml @@ -71,7 +71,7 @@ steps: --debug ${{parameters.TestsConventionOptions}} displayName: Create Live Test pipelines for public repository - condition: ne(variables['TestsConventionOptions'],'') + condition: ne(${{parameters.TestsConventionOptions}},'') env: PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat) @@ -132,6 +132,6 @@ steps: --no-schedule ${{parameters.TestsConventionOptions}} displayName: Create Live Test pipelines for private repository - condition: ne(variables['TestsConventionOptions'],'') + condition: ne(${{parameters.TestsConventionOptions}},'') env: PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)