HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Merge trains in Azure DevOps

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
trainsazuredevopsmerge

Problem

Is it possible to somehow implement a merge trains in Azure DevOps, similar to what GitLab does?

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.

Solution

No, Azure DevOps does not support merge trains. I think in your case, you can create a new branch (like a release branch) from the target one. Then merge your PRs one by one into it. If all goes well then create one PR from the release branch to the target branch.

Context

StackExchange DevOps Q#15535, answer score: 2

Revisions (0)

No revisions yet.