Looping over complex objects in Azure Pipelines
The benefit of loops in Azure Pipelines
A common situation I run into when creating pipelines is that similar steps should take place for different enviroments. In software development we are all great fans of the DRY principle. What we sometimes forget is that it can be applied to IaC and pipeline configuration too. In Azure pipelines we can easily prevent repeating ourselves by looping over object parameters!
Tags: DevOps Pipelines
July 3, 2022