It's all about the answers!

Ask a question

SCM with multi streams


SMitha kumari (245254) | asked Jul 09 '14, 8:39 a.m.

Scenario:

 

Currently we have source base as part of some source system, which has been built from many years. This has following folder structure.

 

Full Source code

-          Application layer

n  Application A

n  Application B

n  Application C

o    

o  

-          Common Layer

o   Com M

o   Com N

o   Com O

o    

….

 

In the above common layer projects are common for App A, B, etc project.. Due to this inter dependencies we are thinking of making in to logical grouping of application layer and common layer project in to separate streams of RTC. With this common approach I am foreseeing 2 challenges:

1.       How do we ensure common code will not get duplicated in each stream.. for eg com M is applicable to App A, as well as B.. then where to push this

2.       How can we create common build which takes care of all application in to one final build

 

Or is it recommended to put this complete code in to one stream as different components??

One answer



permanent link
sam detweiler (12.5k6195201) | answered Jul 09 '14, 8:44 a.m.
edited Jul 09 '14, 8:45 a.m.
I cannot answer for 1. but for 2, use a workspace with flow targets to all the streams that contain all the components. 
build will pull from all of them

https://jazz.net/forum/questions/156194/default-or-current-flow-target-used-for-builds

as I understand it, you could also do a post build deliver in the build def to create a combined stream as a results too.

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.