Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Compare StramA & B and deliver change sets from StramA to StreamB?

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

0 votes



2 answers

Permanent link
 " 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.  

0 votes

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


Permanent link
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).

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 23 '19, 2:58 p.m.

Question was seen: 2,234 times

Last updated: Jan 24 '19, 1:34 p.m.

Confirmation Cancel Confirm