I have 3 build configurations:
Green and Blue are snapshot dependancies of Red. So when Red is triggered... Green and Blue run first... Red runs last.
What i want is all three to have the same build number of 1.2.3.XXX where XXX is an auto incremeting build counter.
My first try was the so called "Shared Build Number" plugin...
Set it up.... what do i get?
Blue = 18.104.22.168
Green = 22.214.171.124
Red = 126.96.36.199
This plugin is obviously useless in sharing the build number if it auto-increments on snapshot dependencies.
My next try was the "Overriding Dependencies Properties" as defined in the TeamCity 9.x docs:
So in the Green and Blue configurations i set the build number to: %MySharedBuildNumber%
In the Red configuration i added a "Configuration Parameter"...
I then reset the current build counters to 100, 200, and 300 in Red, Green, and Blue configs respectively. So now what do i get?
Blue = 188.8.131.521
Green = 184.108.40.206
Red = 220.127.116.11
It seemed like it wasn't reading the reverse.dep value correctly. So i changed the value on it to "1.2.3.XXX"....
Blue = 1.2.3.XXX
Green = 1.2.3.XXX
Red = 1.2.3.XXX
So the reverse.dep is being passed from the Red config down to the Blue and Green configs... it just isn't evaluating things within a configuration parameter value. So the %build.counter% was being passed and not the value of build.counter from Red.
At this point i'm out of ideas. I've been working on this for a day... a whole day wasted to figuring out what should be a basic feature. A feature that has been in the TC issue tracker since 2008 and still isn't resolved.