It's all about the answers!

Ask a question

How are Build Labels generated?


Timothy Robertson (216143) | asked Jun 24 '10, 10:43 a.m.
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



permanent link
David Olsen (5237) | answered Jun 26 '10, 12:05 a.m.
JAZZ DEVELOPER
rtimothy wrote:
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?


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


Register or to post 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.