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

Hello,

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?


Thanks,
Olivier
0
4 comments

Hi Olivier,

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

0
Avatar
Permanently deleted user
0
Avatar
Permanently deleted user

Hi,

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.

Thanks,
Assaf

0

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.

0

Please sign in to leave a comment.