reverse.dep.*.Property not working in checkout rules.

0
4 comments

Hi Stefan,

What are you trying to do? As you can see here: https://confluence.jetbrains.com/display/TCD10/Predefined+Build+Parameters#PredefinedBuildParameters-OverridingDependenciesProperties

reverse dependency parameters can only be used under special conditions:
The reverse.dep. parameters are processed on queuing of the build where the parameters are defined. As the parameter's values should be known at that stage, they can only be defined either as build configuration parameters or in the custom build dialog. Setting the parameter during the build has no effect.

0

Hi, sorry. This was meant to be a support ticket but I could not find a way to delete my post but only edit it to empty.

0
Avatar
Permanently deleted user

Hi Denis, 

I am trying to pass parameters between Build A and Build B. But I need the value of my parameter of my Build A in Build B, I need to update dynamically. The value is updated depending on the result of BUild A, so that value will always be changing. I need to use it in VCS settings in: Branch Default.

 

Thanks

0

Hi Leslie,

 

A couple comments, first, you can use "dep.<build_id>.param_name" to use "param_name" from the build with ID <build_id>. So, if B depends on A, you can set B to use dep.A_id.build.branch, for example, to reference its branch.

 

This said, default branch is kind of a special setting. While it works just like each other, it's often misinterpreted how TeamCity uses the VCS Roots and branches leading to this not working as you would expect. Could you expand on what exactly you are trying to achieve with this parameter reference?

0

Please sign in to leave a comment.