【发布时间】:2020-10-22 00:38:19
【问题描述】:
我在第一个管道中有一个名为 validate 的变量,如果它设置为 true,则跳过第二个管道的触发器。
yaml 示例管道
trigger: none // add this trigger value to none
resources:
pipelines:
- pipeline: RELEASE_PIPELINE // any arbitrary name
source: PIPELINE_NAME. // name of the pipeline shown on azure UI portal
trigger:
branches:
include:
- dummy_branch
我在名为 validate 的管道上设置了一个变量(作为全局变量)为真/假。
如果设置为 True,则不应触发第二个管道。
【问题讨论】:
-
你查看我的回复了吗?有帮助吗?如果它对您有帮助,您可以Accept it as an Answer,这对阅读此主题的其他社区成员会有所帮助。
标签: yaml azure-pipelines