Reputation: 821
I have a pipeline, let's call it c. I would like c to be triggered if either pipeline a or pipeline b finishes. Please see bellow my attempt. Anyone knows why it does not work?
resources:
pipelines:
- pipeline: a
source: ci-a
trigger:
branches:
- '*'
- pipeline: ci-b
source: b
trigger:
branches:
- '*'
Upvotes: 1
Views: 145
Reputation: 56
Should work like this
resources:
pipelines:
- pipeline: Trigger-A #This is an alias
source: ci-a #name of pipeline that you want to be triggering this pipeline
trigger:
branches: #Branches to include
- *
- pipeline: Trigger-B
source: ci-b
trigger:
branches:
- *
Upvotes: 1