Repo 1 和分支名称:Repo1Branch
trigger:
- none
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo Hello, world!
我想从 Repo 2 管道中调用 Repo 1
Repo 2 和分支名称:Repo2Branch
trigger:
- none
pool:
vmImage: 'ubuntu-latest'
resources:
repositories:
- repository: templates
type: git
name: PROJECTNAME/Repo 1
ref: Repo1Branch
steps:
- template: azure-pipelines.yml@Repo 1