在Yaml文件中转换可视化构建管道 [英] Convert visual build pipeline in yaml file

查看:174
本文介绍了在Yaml文件中转换可视化构建管道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Azure DevOps管道,并且正在使用可视设计器.

I'm working with Azure DevOps pipeline and I'm using the visual designer.

但是也有YAML文件.我想将Build管道导出到YAML文件中.似乎有可能在此Github问题中提到( https://github.com/使用View YAML按钮访问MicrosoftDocs/vsts-docs/issues/2504 ).

But there is also the YAML file. I would like to export my Build pipeline into a YAML file. It seems to be possible like mentionned in this Github issue (https://github.com/MicrosoftDocs/vsts-docs/issues/2504) using the View YAML button.

但是该按钮在我的项目中处于禁用状态(我无法单击它):

But this button is disable in my project (I cannot click on it):

我不知道如何启用它.预览功能New YAML pipeline creation experience已启用.我正在使用一些标记为Preview的任务.这可能是原因吗?

I don't know how to enable it. The preview feature New YAML pipeline creation experience is enabled. I'm using some Task that are tagged as Preview. Can it be a reason?

有人知道为什么禁用它以及如何启用它吗?

Does someone know why it is disabled and how to enabled it?

推荐答案

对于管道级的几个项目,我也有同样的问题:

I also have the same problem for several projects on pipeline level:

尝试检查座席级别.它可能可用:

Try to check the agent level. It may be available:

这篇关于在Yaml文件中转换可视化构建管道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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