Overriding Dependencies Properties (reverse.dep.*.<property name>) & patterns


I have started to make use of this handy TC9 feature .

According to the documentation: "it is also possible to change parameter in all dependencies at once":

reverse.dep.*.<property name>

That works, but unfortunately, that doesn't:

reverse.dep.SomePrefix_*.<property name>

Is there any reason to limit the wildcard to "*" and not allow a more complex pattern? Is there any other way to achieve this?

Comment actions Permalink

Hi Olivier,

This feature just was not implemented. Please feel free to create a feature request in our tracker.

Comment actions Permalink


Following the same subject, is there a way to override the dependecies properties using this form (i.e. reverse.dep.* ...) via:
1) The build script interaction mechanism ( for example echo "##teamcity[setParameter name='reverse.dep.*.system.something' value='some value']"
2) The rest API  for example via:   http://teamcity/httpAuth/action.html?add2Queue=BuildID?reverse.dep.something ....

Otherwise this trick is helpful only for manual activations from the custom build dialog.


Comment actions Permalink

Hi Assaf,

It is not possible to override the reverse.dep.* parameter in the build script, because the parameter value should be defined at the moment when the build chain is resolved and the first build in chain is started. The dependencies properties to be overridden can be specified in the parameter names of the dependent build A, either in the custom build dialog or via build configuration parameters.
You can trigger a buildvia REST API with needed parameters as described here: https://confluence.jetbrains.com/display/TCD9/REST+API#RESTAPI-TriggeringaBuild.


Please sign in to leave a comment.