Dependencies attributes resolving in a build chain

Hi All,
I have a pretty weird question, supposing to have a build chain like this:
Dependencies.png

where the dependency in blue are artifact dependency on the last succesful build  and the one in black is an artifact dependency on the same chain plus a snapshot dependency.
In this situation it may happen that bt2 and bt3 depends on different bt1 version ( I know is not exaclty the best way to manage dependencies, please don't ask me why i'm setting up this scenario :) )

How does TC resolve dep parameters in bt3,  like for instance %dep.bt1.system.build.number% in build bt3 ? Are there any resolving rules ? Is it Random based?
Empirically I found that the version from the blue side of the chain is preferred anyone knows why?


Thanks
Domenico

2 comments
Comment actions Permalink

Domenico,

In general "direct" dependency should win. See this issue for more information: http://youtrack.jetbrains.com/issue/TW-21598

0
Comment actions Permalink

Thanks Nikita,
I missed that issue, it is exaclty what I was talking about

Ciao
Domenico

0

Please sign in to leave a comment.