Eric Torre c948bee891
Fix/include pipeline yml in trigger (#1290)
* add trigger to include pipelines

* Update build/azure-devops/webhooks-client/azure-pipelines.yml

Co-Authored-By: Miguel Veloso <mvelosop@gmail.com>

Co-authored-by: Miguel Veloso <mvelosop@gmail.com>
2020-04-07 14:01:12 +02:00

27 lines
696 B
YAML

variables:
registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Web/WebSPA/*
- build/azure-devops/buildimages.yml
- build/azure-devops/multiarch.yml
- build/azure-devops/webspa/*
- deploy/k8s/helm/webspa/*
jobs:
- template: ../buildimages.yaml
parameters:
services: webspa
registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml
parameters:
image: webspa
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)