【发布时间】:2020-12-18 15:37:17
【问题描述】:
有关模板和用法的 Azure Pipeline 文档有一个关于 consuming templates from other repositories 使用“存储库”资源的部分。我想做类似的事情,但使用pipeline resource(已发布的工件)而不是存储库资源。
不幸的是,我无法让它工作。 common.yml@templates 语法似乎特定于存储库,我未能成功下载工件并通过路径引用它们(可能是因为 template is evaluated before any steps are run)
是否甚至可以从存储库类型之外的其他资源中使用模板?
【问题讨论】:
标签: azure-pipelines azure-pipelines-yaml