It's all about the answers!

Ask a question

Getting UserID for user requesting a build


Dan Thorson (111) | asked Jun 16 '09, 6:33 p.m.
Is there a property available that I can pass to a command line build definition that identifies the user requesting the build?

For example, we can get the location of the load directory from ${team.scm.fetchDestination} in the build definition. Is there a similar property identifying the user making the request?

Are these properties documented, and if so could someone point me in the right direction?

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Nov 24 '14, 4:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This has been fixed since the question was asked. See https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=65619


Ralph Schoon selected this answer as the correct answer

2 other answers



permanent link
Nick Edgar (6.5k711) | answered Jun 17 '09, 4:30 p.m.
JAZZ DEVELOPER
The requestor of a build is not currently included in the build properties.
If you need this, please file an enhancement request, providing more details about your use case:
http://tr.im/rtcworkitems

The built-in properties are described in the "Build properties" help topic in the RTC client (or see it here: http://jazz.net/help/rational-team-concert/1.0.1/topic/com.ibm.team.build.doc/topics/r_buildprop.html)

However, because the build engine architecture is open-ended, it doesn't list all properties. The configuration pages in the build definition editor generally describe which properties are exposed though.

You can also configure an Ant build to output a .properties file with all the properties.

permanent link
Nick Edgar (6.5k711) | answered Jun 23 '09, 3:56 p.m.
JAZZ DEVELOPER

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.