Azure Pipelines:是否可以从管道资源而非存储库资源中使用模板?

Azure Pipelines: can a template be consumed from a pipeline resource rather than a repository resource?

有关模板和用法的 Azure Pipeline 文档中有一节是关于 consuming templates from other repositories using a 'repository' resource. I would like to do something similar, but use a pipeline resource(已发布的工件)而不是存储库资源。 不幸的是,我无法让它工作。 common.yml@templates 语法似乎特定于存储库,我没有成功下载工件并通过路径引用它们(可能是因为 template is evaluated before any steps are run

是否可以使用存储库类型以外的其他资源的模板?

不,据我所知这是不可能的,您只能按照模式建议从另一个回购协议执行此操作(如果可以,模式会显示)