Sunday, June 20, 2021

New YAML Template Editing Experience in Azure DevOps

Continuous integration and delivery is a mandatory part of today's software development process which can be implemented using several CI/CD tools. Azure DevOps is a tool which can be used to create CI/CD pipelines as classical pipeline or as  YAML pipeline. When you are using YAML pipelines, you might need to use several YAML templates to create a CI/CD pipeline. If you need to do any modifications to the templates, previously you had to select relevant template from the Repo and do the modifications. However, Azure DevOps has introduced new YAML template editor feature which can be used to edit YAML templates easily. 

This blog explains how to work with YAML template editor.

Let's get started.

Go to Azure DevOps user settings and select preview features. You would be able to see the available preview features.


Find YAML templates editor feature from the list and enable it.


Go to a YAML pipeline which is using YAML templates. You would be able to see View template link above the Template as shown in the following image. 


Once you click on View template link,  relevant template will be opened and you can do the modifications to the template easily by adding new tasks using the template editor.

This blog has explained how to enable YAML template editor preview feature in Azure DevOps and use it to edit existing YAML templates easily.


No comments:

Post a Comment