我有一个管道,我们称之为 c。如果管道 a 或管道 b 完成,我希望 c 被触发。请看下面我的尝试。有谁知道为什么它不起作用?
__STDCPP_DEFAULT_NEW_ALIGNMENT__
答案 0 :(得分:0)
应该是这样的
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:
- *