Build Number and Snapshot dependencies Follow
Hi
How can i add the same Build number from a parent build configuration to Shapshot dependent child build configuration?
If some one commits to an unrleated project, the build number the the snapshot dependent builds will have a different number.
my current build number format is say {0} (1.1.0.{build.vcs.number})
If this possible?
Cheers
Alan
Please sign in to leave a comment.
There is no way to reference build number of the parent build in the child build (because parent build is not yet started), however it is possible to reference child build number in the parent build.
Please take a look here: http://www.jetbrains.net/confluence/display/TCD4/How+To...#HowTo...-Havethesamebuildnumberforsamesnapshotbuildsofdifferentbuildconfigurations
Thanks Pavel
That will do me
Cheers
Alan
Hi Pavel
I'm using %dep.bt87.system.build.number% in my build number format. Instead of showing the build number for that build configuration it is actually saying %dep.bt97.system.build.number%
any suggestion?
Cheers
Alan
Could you please check that build configuration id is correct. If so please send content of the build number format text field.
Hi pavel
the URI of the the build configuration i want to use http://buildserver/viewType.html?buildTypeId=bt87&tab=buildTypeStatusDiv
And the Build number format of the other pBuild config : %dep.bt87.system.build.number%
Thanks for your help
Are you sure that there is a snapshot dependency configured to build configuration with id bt87?
ok
No it isn't it's an artifact dependecy. Sorry my mistake. i thought this would be valid for all builds.
Thanks anyway
No this works for snapshot dependencies only, feel free to add feature request to our tracker.