Skip to content

Commit fe7f5b9

Browse files
Add conditions to test pipeline generation. (Azure#16675)
Co-authored-by: Mitch Denny <[email protected]>
1 parent 68232ec commit fe7f5b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eng/common/pipelines/templates/steps/prepare-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ steps:
7171
--debug
7272
${{parameters.TestsConventionOptions}}
7373
displayName: Create Live Test pipelines for public repository
74+
condition: ne(variables['TestsConventionOptions'],'')
7475
env:
7576
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
7677
@@ -131,5 +132,6 @@ steps:
131132
--no-schedule
132133
${{parameters.TestsConventionOptions}}
133134
displayName: Create Live Test pipelines for private repository
135+
condition: ne(variables['TestsConventionOptions'],'')
134136
env:
135137
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)

0 commit comments

Comments
 (0)