From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Pipeline templates

Pipeline templates - Azure Tutorial

From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Start my 1-month free trial

Pipeline templates

- [Instructor] Pipeline templates provide a way to design a series of steps that can define parts of a workflow that can be then reused in other pipelines, and understanding how to use these templates and variables makes the complex pipelines a lot easier to manage. The templates allow us to define the reusable set of steps that we can include in other pipelines. We do this by including the template in other pipelines. They're included at the runtime and they support the parameters, which allows us to specify a common set of steps that we want to reuse. The way that it works is that we specify the template in the steps and that's where we can go out and say that we want to inject the other file into it. And it will go out and it'll take that file and then insert it and then do the expansion. Let's take a look at how we can use templates to build a common way that we can build both the data and the API project.

Contents