Version numbers

Is there any way for a build to get the build number of the build configuration that started it?

Our commit build configuration starts our package build configuration.  This has snapshot dependencies on acceptance tests and integration stages.  These all take the build number from the commit stage using the format below;

%dep.bt1805.build.number%

However, the package build configuration can get the wrong build number because the package configuration seems to get the number from the commit stage after the package stages snapshot dependencies have completed (commit stage is not a snapshot dependency).

Please sign in to leave a comment.