合并 Azure DevOps 中的训练。

5

在Azure DevOps中是否有可能实现类似于GitLab的合并列车?或者像GitHub中所称的合并队列?

Merge train example

Three merge requests (A, B and C) are added to a merge train in order, which creates three merged results pipelines that run in parallel:

The first pipeline runs on the changes from A combined with the target branch.
The second pipeline runs on the changes from A and B combined with the target branch.
The third pipeline runs on the changes from A, B, and C combined with the target branch.
1个回答

0
不,Azure DevOps没有类似的功能。

谢谢回复,我知道 Azure 不幸地没有提供这个功能,但我的问题更多是关于如何自己实现它的指针。例如通过使用钩子+他们的 API 或类似的方法。 - spydon
1
它肯定可以在Azure管道中进行脚本编写。抓取具有较低ID的未合并PR,其针对相同分支应该是可行的。然后,您将需要自己编写检出步骤的脚本,或者您可以从预作业装饰器中进行检出。 - jessehouwing

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接