It's all about the answers!

Ask a question

Build property to identify personal builds?


Alex Mulholland (712111) | asked Jan 08 '10, 9:17 a.m.
When I use the jazz build engine to run a personal build, is there a property (or other mechanism) that I can access within my ant script that identifies the build as a personal one? Also, is it possible to get the id under which the build was requested? I don't see either of these in the documented build properties.
Thanks, Alex.

2 answers



permanent link
Alex Mulholland (712111) | answered Jan 08 '10, 1:50 p.m.
Ah, I just found this in one of the jazz.net articles:
"The Jazz build engine flags personal builds with the property ${personalBuild}, which is available in the generated build.properties file. "
so that solves my first problem.

permanent link
Tom Frauenhofer (1.3k58435) | answered Jan 08 '10, 4:53 p.m.
Along the same lines ..

I'd like to see the following additional properties exposed

1) The user who requested the personal build
2) The workspace that the user specified

These two items would allow my build to include the user's name and
workspace name in the build package filename or encoded within the build
package itself.

Knowing the workspace name is also interesting because .. maybe the
jbe's local load path could include the workspace name so that different
types of builds go into different local paths on the jbe machine.

Dave

On 1/8/2010 1:52 PM, amulholl wrote:
Ah, I just found this in one of the jazz.net articles:
"The Jazz build engine flags personal builds with the property
${personalBuild}, which is available in the generated
build.properties file. "
so that solves my first problem.

Comments
Jia Jia Li commented Nov 13 '12, 10:23 a.m.
HI, Tom

Do you get the workspace property?

2) The workspace that the user specified 

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.