【问题标题】:Azure pipelines: What is the name of the pipeline resource?Azure 管道:管道资源的名称是什么?
【发布时间】:2021-09-13 12:50:22
【问题描述】:

我是 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名称包含一个点,与所需的模式不匹配。

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

【问题讨论】:

    标签: azure-devops continuous-integration azure-pipelines continuous-deployment azure-repos


    【解决方案1】:
    • pipeline:securitylib 指定管道资源的名称,用于从管道的其他部分引用管道资源时使用,例如管道资源变量。

    是管道资源的名称。这不是 Azure Devops 中的管道名称。是这样的

    - job: JobA
    

    所以这只是一个名字,你可以在这里放任何通过字符限制的东西。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-09-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多