Skip to content

Commit

Permalink
Fix condition for test generation in prepare-pipelines (#1304)
Browse files Browse the repository at this point in the history
The condition was incorrectly referencing a variable where it should be referencing the parameter.
  • Loading branch information
weshaggard authored Jan 12, 2021
1 parent 6a036fa commit 82c65d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/pipelines/templates/steps/prepare-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

0 comments on commit 82c65d4

Please sign in to comment.