Posts

Showing posts from August, 2022

Build Multiple Repositories with Single Pipeline Introduction in Azure DevOps

Image
  This section discusses how to build multiple Repositories with a single pipeline. this could be needed when the feature you deliver may affect multiple code repositories and you need to ensure that all build together. The  resources  Section on the Pipeline To tell the pipeline about the other repositories that need to be built, you need to add the  resources  section before starting  steps  or  jobs  sections. let's see the  resources  section structure: resources : repositories : - repository : <RepositoryAliasName> type : git name : <AzureDevOps-ProjectName>/<RepositoryName> ref : <BranchName> The  resources  section contain sub-section  repositories , which contains one or multiple repository definitions. For each repository we need to define the following: repository  the value will be an alias name for the repository, this name will be used on another pipeline step  checkout . type : define where the repository is: git : if