It's all about the answers!

Ask a question

Copy components from one stream to another stream


Rakesh A (33431) | asked Apr 13 '20, 1:19 a.m.
edited Apr 13 '20, 1:20 a.m.
Hello,
    I would like to know if there is some mechanism in RTC to move the components (baselines & change sets) from one stream to another stream during defined time intervals by checking if it has new changes. (except post build deliver feature)
From the below example, baseline 2 must be moved to Stream B.

E.g: STREAM A
             Components A - baseline 2 --> new baseline

       STREAM B
             Components A - baseline 1

Thanks.

Comments
Geoffrey Clemm commented Apr 13 '20, 10:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Note that to avoid confusion, you will want to be careful with your terminology.  Note that the operation you are doing here is "deliver" or "accept", not "move" or"copy" (which mean something very different).  

2 answers



permanent link
Chidambaram L (23414178) | answered Apr 13 '20, 4:36 a.m.

Change Sets are promoted to next Stream / Repo Workspace only on "post build deliver" & hence a build step is required. A workarround is to have a build engine configured for a dummy build, triggered in the pre-defined time frame. Dummy build should be configured for a simple HelloWorld kind of Java project available inside your Component. If the build is successful, "post build deliver". But Promote based on new baseline is not available. You need Plug-In.



permanent link
Shashikant Padur (4.2k27) | answered Apr 13 '20, 4:24 a.m.
JAZZ DEVELOPER
There is no in built support to deliver changes at predefined intervals. However you could the following:
a) Write custom code using RTC apis which compare the two streams and deliver if there are any outgoing changes.
b) Write a custom followup action to the Deliver operation, to deliver the changes to the other stream. This would not be based on predefined intervals but immediately after you deliver to the first stream.

Your answer


Register or 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.