简体   繁体   English

在Azure DevOps中自动化多个生成/发布

[英]Automate multiple builds/ releases in Azure DevOps

We have dozens of code repositories in Azure DevOps, and we're working on a major release strategy. 我们在Azure DevOps中拥有数十个代码存储库,并且我们正在制定主要的发布策略。

We have a stable development branch called develop , where code has been tested and peer-reviewed, with features approved by QA. 我们有一个稳定的开发分支,称为develop ,其中的代码已经过测试和同行评审,并且具有经过QA批准的功能。 All of our service repositories have a similar structure. 我们所有的服务存储库都具有类似的结构。

We want to "click a button" and branch from develop across all our repositories to a release candidate branch, that QA can regression test as a complete system... basically a "snapshot" of what we expect is ready for release. 我们要“单击一个按钮”,并从我们所有存储库的develop分支到一个发行候选分支,QA可以将测试作为一个完整的系统进行回归……基本上是我们准备发布的快照。 We would then build from this code base, release to our QA environment from the corresponding builds, and when certified, deploy to production, then smoke test and merge the release candidate branch into master , then master back into develop . 然后,我们将基于此代码库进行构建,并从相应的构建版本发布到我们的QA环境中,并在通过认证后部署到生产环境中,然后进行冒烟测试并将发布候选分支合并到master ,然后再将master重新集成到develop

It doesn't seem like there's an easy way to manage multiple builds or releases in Azure DevOps though. 不过,似乎没有一种简单的方法可以在Azure DevOps中管理多个版本或版本。 Atlassian's Bamboo supported this concept of "meta builds" but I don't see a way to do this in Azure DevOps. Atlassian的Bamboo支持这种“元构建”的概念,但是在Azure DevOps中我看不到做到这一点的方法。 I can't seem to even create a build that is not implicitly linked to a single repository. 我似乎甚至无法创建未隐式链接到单个存储库的构建。

How can I automate this and get this workflow working in Azure DevOps? 如何实现此自动化并使此工作流在Azure DevOps中运行?

You can use a Build Task from the Marketplace that queue a new build: the first two found are Trigger Build Task and Build Chain . 您可以使用来自Marketplace的构建任务来排队新构建:找到的前两个是Trigger Build TaskBuild Chain You defined an overarching build that queues the single ones and does any additional work. 您定义了一个总体构建,该构建将单个构建排队并进行其他任何工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Devops 构建和发布中的最大变量数 - Azure Devops max number of variables in builds and releases 如何将多个 json 文件导入/上传到 Azure Devops Pipeline Releases? - How to import/upload multiple json files to Azure Devops Pipeline Releases? 为什么我们在 Azure Devops 中使用管道下的环境? 并且在创建构建/发布方面是否有任何每月/每年的限制? - Why we use environments under pipelines in Azure Devops? and is there any Monthly/Yearly limitation in creating builds / releases? Azure DevOps 版本跳过任务 - Azure DevOps Releases skip tasks 使用 RestAPI 过滤 Azure DevOps 版本 - Filter Azure DevOps releases with RestAPIs Azure DevOps 中是否有等效的 GitHib 版本? - Is there an equivalent of GitHib releases in Azure DevOps? Azure DevOps Server 2019 - 如何选择多个版本 - Azure DevOps Server 2019 - How to select multiple builds 如何将多个 json 文件导入/上传到 Azure Devops Pipeline Builds? - How to import/upload multiple json files to Azure Devops Pipeline Builds? 如何从 Azure DevOps 管道将多个发布或构建导出到桌面? - How to export multiple Release or Builds from Azure DevOps Pipeline to desktop? 在 Azure DevOps 中并行运行的多个构建之间锁定资源 - Lock resources between multiple builds that run parallel in Azure DevOps
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM