Azure DevOps - use GUI instead of YAML to edit build pipeline

拟墨画扇 提交于 2020-01-24 02:53:09

问题


Some time ago Azure DevOps have added a support for YAML build pipelines. This is all nice for power users (I get it, pros only use command line & plain text tools, GUI is for weak) for quite a few reasons.

Is there a way to go back to a GUI (classic editor) to edit an existing pipeline? I have disabled the feature

as described here https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-designer?view=azure-devops&tabs=new-nav , however it only helps for new pipelines.

Somehow I haven't yet memorized the syntax and entire set of configuration options for pipeline definitions, so...

I'd like to edit my existing pipeline using the GUI, as I don't have time to read the docs and look for what exactly string do I need to add into which place of YAML in order to set some simple options, however, I am always taken to the YAML view when I try to edit a pipeline (which was created visually some time ago).

Is there a way to open the GUI editor?


回答1:


for a pipeline thats using yaml - no. you can only configure it in yaml and you can not switch back to UI experience.

If the pipeline is UI - it will continue to work as it was working.




回答2:


There is a link in the Create New Pipeline blade. Click on the "Use the classic editor" link and voila you will get the GUI to work on!




回答3:


As far as pipelines go, MS made the determination to keep the Yaml vs classic (UI) methods of editing entirely separate workflows. Personally, I like having both as an option and see the YAML modifications as a quick and easy way to use pipeline as code and for some make spot modifications, but i think removing the UI will limit their product adoption as sometimes its easiest to master a pipeline first in the ui. Anyway, most pipelines are not SO many steps recreation is prohibitive I would recommend just recreate the pipeline in another tab in your browser. Just look for the reference at creation time for Classic Editor. It asks one time then after that you're in the lane.



来源:https://stackoverflow.com/questions/55452802/azure-devops-use-gui-instead-of-yaml-to-edit-build-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!