Propagate parameter down the build chain

Hi,

Assumes there is depndancy between builds as follow

A -->\
        | --> C
B -->/

Hance, C is relyaing on artifacts from B and A

I would like to trigger the build chain from C and to propogate a build paramters (like a branch name) so A will use the branch name provided in the run dialog of C

Is there any way to acheive it?


Running TeamCity 9.0.2

1 comment
Comment actions Permalink

Hi Yoram,

If you have snapshot dependencies configured and branches names are the same, then all the builds in chain should run on the same branch. For more details please see: https://confluence.jetbrains.com/display/TCD9/Working+with+Feature+Branches#WorkingwithFeatureBranches-Dependencies.

Also since TeamCity 9.0 it is possible to override dependencies properties, see: https://confluence.jetbrains.com/display/TCD9/Predefined+Build+Parameters#PredefinedBuildParameters-OverridingDependenciesProperties

0

Please sign in to leave a comment.