Azure 管道:管道资源的名称是什么?

Azure pipelines: What is the name of the pipeline resource?

我是 Azure DevOps 的新手,想通过另一个管道触发一个管道。

我关注this documentation

那里描述了以下部分:

# this is being defined in app-ci pipeline
resources:
  pipelines:
  - pipeline: securitylib   # Name of the pipeline resource
    source: security-lib-ci # Name of the pipeline referenced by the pipeline resource
    project: FabrikamProject # Required only if the source pipeline is in another project
    trigger: true # Run app-ci pipeline when any run of security-lib-ci completes

我不知道管道资源是什么。 (属性 pipeline) 我尝试了 repo 的名称,但 repo 名称包含一个点,与所需的模式不匹配。

谁能告诉我在哪里可以找到这个 属性 的价值?

  • pipeline: securitylib specifies the name of the pipeline resource, and is used when referring to the pipeline resource from other parts of the pipeline, such as pipeline resource variables.

是管道资源的名称。这不是 Azure Devops 中的管道名称。它就像

- job: JobA

所以这只是一个名称,您可以在此处输入任何通过字符限制的内容。