首页 > git > Azure DevOps Trigger构建在release / {version}分支上

Azure DevOps Trigger构建在release / {version}分支上 (Azure DevOps Trigger build on release/{version} branch)

问题

对于Azure DevOps,如何在编队版本/ {version}中创建发布分支时自动构建?

查看构建的触发器选项卡,过滤器允许我选择分支,但这仅适用于预定义的分支,而不是分支类型/格式。

我还不知道分支名称是什么,因为它将遵循版本字符串格式,如release / {major}。{minor}。

任何想法如何实现这一目标?

解决方法

你可以输入你喜欢的任何东西,所以在你的情况下使用:

release/*

阅读:https//docs.microsoft.com/en-us/azure/devops/pipelines/release/triggers?view = azure-devops #release-triggers

问题

For Azure DevOps, how can you automatically build when you create a release branch in the formation release/{version}?

Looking at the triggers tab of a build, the filter allows me to select a branch, but that is only for pre-defined branches, and not a branch type / format.

I don't know yet what the branch name will be as it will follow a version string format like release/{major}.{minor}.

Any ideas how this can be achieved?

解决方法

you can just type in whatever you like, so in your case use:

release/*

Reading: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/triggers?view=azure-devops#release-triggers

相似信息