尝试在使用 YAML 完成另一个管道时触发 Azure 管道。有文档表明您可以添加管道资源:
resources: # types: pipelines | builds | repositories | containers | packages
pipelines:
- pipeline: string # identifier for the pipeline resource
connection: string # service connection for pipelines from other Azure DevOps organizations
project: string # project for the source; optional for current project
source: string # source defintion of the pipeline
version: string # the pipeline run number to pick the artifact, defaults to Latest pipeline successful across all stages
branch: …Run Code Online (Sandbox Code Playgroud)