How are Build Labels generated?
We've noticed that our build labels are <date>-nnnn. Where nnnn seems to be a number that increments if you run multiple builds on the same date. I'm assuming this is computed off the time the build is launched for that day, but I want to make sure. We are developing some tooling to deal with most N number of builds and I'd like to know if it's always safe to assume that for any given <date> in a build label, the bigger the value for nnnn the more recent the build. Is this assumption correct?
|
One answer
rtimothy wrote:
We've noticed that our build labels are <date>-nnnn. Where nnnn The "nnnn" in the default build label is simply the time of day in 24-hour format in the time zone of the build engine. If all your build engines are in the same time zone, then a bigger value for nnnn means a more recent build. If your build engines are in multiple time zones, that is not always true. Note that the build label is not always unique. Two builds that start within the same minute on different build engines may have the same build label. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.