Skip to content

Commit

Permalink
Add succeeded condition to pipeline generation pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp authored and azure-sdk committed Jan 5, 2022
1 parent d3f22cd commit c0b75d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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('${{parameters.TestsConventionOptions}}','')
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
- script: >
Expand All @@ -90,7 +90,7 @@ steps:
--debug
${{parameters.TestsConventionOptions}}
displayName: Create Weekly (Multi-Cloud) Live Test pipelines for public repository
condition: ne('${{parameters.TestsConventionOptions}}','')
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
Expand Down Expand Up @@ -151,6 +151,6 @@ steps:
--no-schedule
${{parameters.TestsConventionOptions}}
displayName: Create Live Test pipelines for private repository
condition: ne('${{parameters.TestsConventionOptions}}','')
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)

0 comments on commit c0b75d6

Please sign in to comment.