Add conditions to test pipeline generation. (#840)

Co-authored-by: Mitch Denny <midenn@microsoft.com>
This commit is contained in:
Azure SDK Bot 2020-10-22 02:40:47 -07:00 committed by GitHub
parent fb53bde6a8
commit 61dab6d92c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,7 @@ steps:
--debug
${{parameters.TestsConventionOptions}}
displayName: Create Live Test pipelines for public repository
condition: ne(variables['TestsConventionOptions'],'')
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
@ -131,5 +132,6 @@ steps:
--no-schedule
${{parameters.TestsConventionOptions}}
displayName: Create Live Test pipelines for private repository
condition: ne(variables['TestsConventionOptions'],'')
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)