Compare StramA & B and deliver change sets from StramA to StreamB?
![]()
Tanveer Zubair (21●1●2●13)
| asked Jan 23 '19, 2:58 p.m.
edited Jan 23 '19, 3:22 p.m. by David Lafreniere (4.8k●7)
My team works two releases at a time, and having two streams StreamA and StreamB. All of the changes from A to B is always needed. We like to automate, as Stream A receives a change-set it should deliver to Stream B, but not overwrite B. The stream B have some other changes which are not in A and we don't want and like to replace B with A. I know Green stream concept in related scenario and can be achieved via Post-Build Delivery of build definition option.
Please advise.
Thanks
|
2 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jan 24 '19, 2:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER " should deliver to Stream B, but not overwrite B" This does not make sense to me.
In general it is possible to set a stream as the flow target of another stream. It is possible to set stream B as flow target of Stream A. If this is done one can use the pending changes view to flow changes from stream A to stream B. This only works if there is no merge conflict.
In case of merge conflicts, as always you have to use a repository workspace with multiple flow target to merge and deliver changes between streams.
Comments
Ralph,
Thanks for the answer and explanation.
I know and I can do manually what I am looking forward , but I like to automate.
If Stream A receives a change set then like to automatically promote that changeset to Stream B. We need to keep in mind that Stream B contains other change sets which may or may not be in Stream A, but all change sets of A we need in Stream B.
Please advise considering automation.
Thanks
|
![]()
There is no out of the box way to have this automated.
You would either have to manually do the deliveries (as suggested by Ralph) or you would have to write your own server-side asynchronous service that listens to delivery change events, and then delivers the change sets to the desired stream. Keep in mind though (as also pointed out by Ralph) it sounds like there's the possibility of conflicts (since StreamB in your case has more change sets that in StreamA). There is no way to automate a merge, and this would have to done manually by someone using a repository workspace to address the merge, at which point they could deliver the merged change sets to the stream).
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.