Answers: <p>I have been looking for this as well. </p>
  
  <p>Templating is solved very good, and in case you have a file "azure-pipelines.yml" in the root of your repo, the pipeline will automatically be setup (with the name of the repo). </p>
  
  <p>But if you have a repo with submodules (as in directories, not git submodules) and dedicated azure-pipeline.yml in each submodule, these will not be setup automatically. Maybe also because we are not enabled to define a pipeline name in our yaml definitions?</p>
  
  <p>With a short testing round, I found that using the azure pipeline cli together with python is also no quick fix for really automatically setting up my pipelines for submodules.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-01-22T10:30:34.850Z
Answers: 2020-01-22T16:09:36.450Z
Answers: 2020-01-22T16:09:36.450Z
Answers: chris polzer
Answers: <p>Yes this can be done, <a href="https://www.azuredevopslabs.com/labs/azuredevops/yaml/" rel="nofollow noreferrer">Azure Pipelines</a> can ingest a yaml file, configuring the pipeline as code. These yaml files should be source controlled and the pipeline can be set up to build in an automated way.</p>
  
  <p>You can also <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops" rel="nofollow noreferrer">reuse</a> steps within the pipeline</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-06-18T02:11:06.147Z
Answers: 2019-06-18T02:11:06.147Z
Answers: astro8891
Body: <p>I'm looking at moving to Azure and using Azure Pipelines (I've used Jenkins before now) - I plan to deploy to Azure Kubernetes Service and store my Docker images in an Azure Container Registry.  Using Azure DevOps/Pipelines to integrate with Azure's own services would seem to be simplest approach.</p>
  
  <p>I've got a small collection of applications to deploy - about 30 or so.  In the Jenkins world I had a Git repository containing my job definitions written in Jenkins Job DSL language and a seed job that would create all 30 Jenkins "pipelines" for me.</p>
  
  <p>Can I do this with Azure DevOps?  Is there an equivalent to a seed job process in Azure DevOps?</p>
  
  <p>--</p>
  
  <p><a href="https://devops.stackexchange.com/questions/5158/jenkinsfile-equivalent-in-azure-repos">Jenkinsfile equivalent in Azure repos</a> looks to be a similar question (but not identical).  </p>
  
Tags: <jenkins><azure-devops>
Title: Azure DevOps/Pipelines seed job equivalent?
UserDisplayName: Mark McLaren
ThreadText: # Azure DevOps/Pipelines seed job equivalent?
  
  (Asked by: username_0 on 2019-01-16)
  
  I'm looking at moving to Azure and using Azure Pipelines (I've used Jenkins before now) - I plan to deploy to Azure Kubernetes Service and store my Docker images in an Azure Container Registry. Using Azure DevOps/Pipelines to integrate with Azure's own services would seem to be simplest approach.
  
  I've got a small collection of applications to deploy - about 30 or so. In the Jenkins world I had a Git repository containing my job definitions written in Jenkins Job DSL language and a seed job that would create all 30 Jenkins "pipelines" for me.
  
  Can I do this with Azure DevOps? Is there an equivalent to a seed job process in Azure DevOps?
  
  --
  
  [Jenkinsfile equivalent in Azure repos](https://devops.stackexchange.com/questions/5158/jenkinsfile-equivalent-in-azure-repos) looks to be a similar question (but not identical).
  
  **Tags:** jenkins, azure-devops
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-01-22. Score: 1
  
  I have been looking for this as well.
  
  Templating is solved very good, and in case you have a file "azure-pipelines.yml" in the root of your repo, the pipeline will automatically be setup (with the name of the repo).
  
  But if you have a repo with submodules (as in directories, not git submodules) and dedicated azure-pipeline.yml in each submodule, these will not be setup automatically. Maybe also because we are not enabled to define a pipeline name in our yaml definitions?
  
  With a short testing round, I found that using the azure pipeline cli together with python is also no quick fix for really automatically setting up my pipelines for submodules.
  
  
  ---
  
  ### Answer by username_2 on 2019-06-18. Score: 1
  
  Yes this can be done, [Azure Pipelines](https://www.azuredevopslabs.com/labs/azuredevops/yaml/) can ingest a yaml file, configuring the pipeline as code. These yaml files should be source controlled and the pipeline can be set up to build in an automated way.
  
  You can also [reuse](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops) steps within the pipeline
  
  
  ---
  
  