有没有一种方法可以在YML中使用Azure Artifacts触发管道? [英] Is there a way to trigger pipeline using Azure Artifacts in YML?

查看:85
本文介绍了有没有一种方法可以在YML中使用Azure Artifacts触发管道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在定义GUI版本时,我可以使其由Azure Artifact触发,是否可以在YML中为管道复制此版本?

When defining a GUI release I can make it be triggered by an Azure Artifact, is there a way to replicate this for pipelines in YML?

我正在建立一个AZDO租户,将通用软件包推送到另一个租户,在该租户中将定义版本定义,我希望可以在YAML中使用.但是我目前没有一个明显的方法可以做到这一点?

I am building in one AZDO tenant, pushing universal packages to another tenant, where the release definitions will be defined, I'm hoping this can be in YAML. But I don't see an obvious way to do this at the moment?

我看到有一个提到包装的设计文档,但没有提供更多详细信息

I see there is a design document that makes mention of packages, but no further details are provided

https://github.com/microsoft/azure-pipelines-yaml/blob/master/design/pipeline-resources.md

欢呼

编辑-

推荐答案

是否有一种方法可以在YML中使用Azure Artifacts触发管道?-但是我目前没有一个明显的方法?

Is there a way to trigger pipeline using Azure Artifacts in YML?-But I don't see an obvious way to do this at the moment?

是,是.你说的对 !

Yes, Yes. You are right !

因为该文档中的内容具有推测性,设计性和未来功能.

That because the content in this document are speculative, designs, and future features.

如果您检查提供的设计文档的上层,则处于以下状态:

If you check the upper level of design document you provided, there is a state:

Azure管道YAML-设计文档

此回购中的设计文档是在以下期间的不同时间创建的 开发Azure管道以支持协作 对设计过程的贡献.设计文件适用于

The design docs within this repo are created at different times during the development of Azure Pipelines, to support collaborative contributions to the design process. Designs documents are for,

  • 考虑实施但从未实施的功能
  • 已实现的功能
  • 功能的未来想法
  • features considered for implementation but never implemented
  • already implemented features
  • future ideas for features

此存储库中的设计文档可能代表当前状态 管道功能的功能.

The design docs in this repo may not represent the current state of an Azure Pipelines feature.

当您查看正式发布的文档时

When you check the officially release document YAML schema reference-Resources, it only list:

resources:
  pipelines: [ pipeline ]  
  repositories: [ repository ]
  containers: [ container ]

因此,目前,YAML中的Azure Artifacts源应该是将来的功能.希望MS能够提前一天实现.

So, Azure Artifacts source in YAML should be a future feature at this moment. Hope MS can achieve it one day earlier.

希望这个答案可以清除您的问题.

Hope this answer clear your question.

这篇关于有没有一种方法可以在YML中使用Azure Artifacts触发管道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆