Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to change the Build Label format

Is it possible to define a custom Build Label formatting ?

We us a:
<main>.<major>.<minor>-<build> style number
(e.g. 01.00.21-0033)

Is there anyway to define this type of build number so the build machine automatically labels the builds the way we would like.

0 votes



5 answers

Permanent link
What I do is to generate build artifacts that have a filename in the custom format that I want, similar to what you describe. I store the build artifacts in the Build Result. But I leave the Build Result in its native label scheme.

0 votes


Permanent link
I agree there are many ways to create our own label, but it would be nice to use the same label for the build log, so things match, especially when you are looking at a list of builds.

0 votes


Permanent link
See enhancement request 113599: Support property to specify build label format and the workaround mentioned there.

Even with that, there's no notion currently of a build number, just the timestamp (or possibly the build result UUID, but humans shouldn't be subjected to those).

0 votes


Permanent link
Thanks for the information, I have tried the workaround and this is working great, we use a custom tool to read our "label.cpp" file, increment the build number, update the time/date stamp, re-write the "label.cpp" file as well as a "label.cpp.properties" file which is then used to transfer the new label back to the build system.

So far, all is working great...

0 votes


Permanent link
Great, glad to hear. If there's anything you think we can provide in our tooling to make this easier for you, please feel free to open enhancement requests.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 14 '10, 3:21 p.m.

Question was seen: 8,794 times

Last updated: Jun 14 '10, 3:21 p.m.

Confirmation Cancel Confirm