如何停止在Azure管道中的单个分支上的更改触发多个流水线

huangapple go评论60阅读模式
英文:

How to stop change in single branch triggering multiple pipelines in azure pipelines

问题

我想要以一对一的方式映射不同的分支到不同的Azure管道。但是单个分支的更改触发了多个管道。

如何防止这种情况发生?如何配置单个管道以及其application.yml文件,使之与单个分支相对应?

英文:

I want to map different branches with different azure pipelines in 1-1 fashion. But a change in single branch is triggering multiple pipelines.

How to prevent this? How to configure single pipeline with single branch and its application.yml file?

答案1

得分: 0

你可以查看这里的文档来完成这个操作。

你只需要在你的YAML文件中指定哪个分支应该触发每个流水线,就像这样:

trigger:
  - master
英文:

You can check the documentation here to do that.

What you can do is just specify in your YAML files which branch should trigger each pipeline, like this:

trigger:
  - master

答案2

得分: 0

如何停止在Azure管道中的单个分支上的更改触发多个流水线

如何停止在Azure管道中的单个分支上的更改触发多个流水线

英文:

or you can override the trigger

如何停止在Azure管道中的单个分支上的更改触发多个流水线

如何停止在Azure管道中的单个分支上的更改触发多个流水线

huangapple
  • 本文由 发表于 2023年2月24日 17:05:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/75554545.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定