DEV Community

Discussion on: Azure Pipelines YAML Templates Demystified

Collapse
 
ahethaysham profile image
Ahethaysham Ahmed

Hi, Lets say that I have a dotnet project. Is it possible to identify the templates needed? How can we do that? Thanks!

Collapse
 
n3wt0n profile image
Davide 'CoderDave' Benvegnù

Well that really depends on how you manage your projects. For example, what I would do is creating a template that restore nuget packages, does build, execute tests, scan for security and publish the project. This way 5 or 6 steps can be reused in all your pipelines via just 1 template. And then your pipelines just need to take care of deployment or any other operation that is not common to all projects but specific to each one