Getting UserID for user requesting a build
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?
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
2 other answers
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.
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.