Reusing code in Azure DevOps pipelines with YAML templates
Maarten and Oscar discuss how to reuse code in YAML pipelines in Azure DevOps. They show how to create templates at the stage, job, and step levels that can be reused across multiple pipelines. Maarten demonstrates taking an existing classic pipeline and converting it to YAML templates that can be reused for building and deploying two similar Azure Functions apps. It highlights how templates can be shared across repositories and how parameters can be used to customize the templates. The full YAML is shown to help debug templates.