Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Is it possible to access build engine credentials in ant ?

We use the ant build toolkit for RTC and need the userId and password/passwordFile of the user who runs the build engine (it is the same user who own the workspace build is running against)

Are there built-in properties in jazz ant library to get this information ?

Thanks in advance

0 votes



4 answers

Permanent link
Actually there are a few 'built-in' properties that are always created and populated. The one you need is buildRequesterUserId. However the password or password file is NOT passed in for security reasons. So that value should be contained within the Ant script itself.

List of Built-in properties:
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.concert.dotnet.doc%2Ftopics%2Fr_build_prop.html&re=1&scope=null

Hi,

there are no built in properties I am aware of. In general all properties set in the Build engine definition and the build definition are passed to ANT and accessible with ${property} like in

<zip>



You could try to use this feature to define the password file for the build engine or the build definition in a property. And then use that property in the build.

1 vote


Permanent link
Hi,

there are no built in properties I am aware of. In general all properties set in the Build engine definition and the build definition are passed to ANT and accessible with ${property} like in

<zip>



You could try to use this feature to define the password file for the build engine or the build definition in a property. And then use that property in the build.

0 votes


Permanent link
I should add that these properties only exist if you executed from a JBE.

Actually there are a few 'built-in' properties that are always created and populated. The one you need is buildRequesterUserId. However the password or password file is NOT passed in for security reasons. So that value should be contained within the Ant script itself.

List of Built-in properties:
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.concert.dotnet.doc%2Ftopics%2Fr_build_prop.html&re=1&scope=null

Hi,

there are no built in properties I am aware of. In general all properties set in the Build engine definition and the build definition are passed to ANT and accessible with ${property} like in

<zip>



You could try to use this feature to define the password file for the build engine or the build definition in a property. And then use that property in the build.

0 votes


Permanent link
Thank you for all the answers

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: Apr 23 '12, 4:49 a.m.

Question was seen: 5,991 times

Last updated: Apr 23 '12, 4:49 a.m.

Confirmation Cancel Confirm