Sync eng/common directory with azure-sdk-tools for PR 1572 (#2172)

* Update prepare pipelines template.

* Update prepare-pipelines as well.

* Remove default line.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-04-28 20:39:14 -07:00 committed by GitHub
parent cc1c071c97
commit df2ffc0577
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ parameters:
steps:
- template: install-pipeline-generation.yml
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
# This covers our public repos.
- ${{ if not(endsWith(parameters.Repository, '-pr'))}}:
- script: >
@ -30,7 +30,7 @@ steps:
--repository ${{parameters.Repository}}
--convention ci
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/$(DefaultBranch)
--patvar PATVAR
--debug
${{parameters.CIConventionOptions}}
@ -48,7 +48,7 @@ steps:
--repository ${{parameters.Repository}}
--convention up
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/$(DefaultBranch)
--patvar PATVAR
--debug
${{parameters.UPConventionOptions}}
@ -66,7 +66,7 @@ steps:
--repository ${{parameters.Repository}}
--convention tests
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/$(DefaultBranch)
--patvar PATVAR
--debug
${{parameters.TestsConventionOptions}}
@ -88,7 +88,7 @@ steps:
--repository ${{parameters.Repository}}
--convention ci
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/$(DefaultBranch)
--patvar PATVAR
--debug
--no-schedule
@ -107,7 +107,7 @@ steps:
--repository ${{parameters.Repository}}
--convention up
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/$(DefaultBranch)
--patvar PATVAR
--debug
--no-schedule
@ -126,7 +126,7 @@ steps:
--repository ${{parameters.Repository}}
--convention tests
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/$(DefaultBranch)
--patvar PATVAR
--debug
--no-schedule