Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (41 sloc) 1.26 KB
trigger:
branches:
include:
- '*'
resources:
repositories:
- repository: templates
type: git
name: Templates/Pipelines
stages:
- stage: Build
jobs:
- template: Build\BuildProdARMTemplate.yml@templates
parameters:
azureConnectionName: MPN
resourceGroupName: StorageAccount_01
deploymentFolder: Deploymentfiles/StorageAccount
deploymentMode: Incremental
throwWhenRemoving: 'false'
- template: Build\BuildProdARMTemplate.yml@templates
parameters:
azureConnectionName: MPN
resourceGroupName: VirtualNetwork_01
deploymentFolder: Deploymentfiles/VirtualNetwork
deploymentMode: Incremental
throwWhenRemoving: 'false'
- stage: Deploy
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
jobs:
- template: Deploy\DeployARMTemplate.yml@templates
parameters:
azureConnectionName: MPN
resourceGroupName: StorageAccount_01
deploymentFolder: Deploymentfiles/StorageAccount
deploymentMode: Incremental
- template: Deploy\DeployARMTemplate.yml@templates
parameters:
azureConnectionName: MPN
resourceGroupName: VirtualNetwork_01
deploymentFolder: Deploymentfiles/VirtualNetwork
deploymentMode: Incremental
You can’t perform that action at this time.