Share VCS root for multiple build configurations

 I have a project called Test and that has many build configurations (say A, B, C, D....Z they are all build configurations to build on multiple platforms). the source is same for all those build configurations.

How do i share VCS root created once and shared for these build configurations.

option 1 : create a build project Master which has the VCS root attached and make this as the snapshot dependency to all the builds A, B, C, D.

 

My future typical usage : I would be creating Test1, Test2, Test3 configurations copying from Test and just update the VCS root in the copied Master build and thus my changes to new projects would be simple.

 

I tried this but the builds A,B,C are not getting built. Is there a way to get this done?

 

Questions:

1. If there is a change in the source the Master dependency build should not stop after the first  build (i.e A).

All other configurations B,C,...Z should see that change and built with the new source. To my understanding once the dependent project is built and no changes in VCS root then it does not bring the sources.

 

Thanks,

Panduranga

 

 

 

 

 

 

 

 

0
3 comments
Avatar
Permanently deleted user

We have a option "Build Configuration Templates" ..

go to project-->edit settings> you can see multiple options like below.

1. Build configuration

2. build congiration template

select 2nd option.

0

You can simply move the VCS Root to the project, instead of the Build Configuration (usually they are created in the project), you can also move it to any parent project of it. It will be available for any Build configuration. To use it, access the build configuration and select "Attach" instead of "Create"

Also using templates looks like a good solution for your use case: https://confluence.jetbrains.com/display/TCD10/Build+Configuration+Template

0
Avatar
Permanently deleted user

Thank you very much. Build Configuration Templates are better suited for my needs.

0

Please sign in to leave a comment.