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

Build definition with HIDDEN property

 Hi,

I am using RTC 5.0.2 with JBE.

I have a build process that is necessary to connect in a server to execute some build stepd.

Using build definition, I created USERNAME and PASSWORD properties and I am trying to use it in my ANT script to connect. It is necessary because every developer that is requesting a build needs to autenthicate in server thes is used in build process, so for every build request is necessary to inform username and password.

I defined PASSWORD property as HIDDEN (using HIDDEN expression in description)

I am trying to use PASSWORD property value in ANT script but I am having some problems with it.

<exec command = "execname.exe -user ${USERNAME} -password ${PASSWORD}" />

But I can not see and use the value of PASSWORD property when I am executing my ANT script.

Is there a way to do it without expose PASSWORD?

0 votes



One answer

Permanent link
Not sure how you made it "hidden" and how it did not work for you. But this post may be a good read.
http://www.dcepler.net/post.cfm/hiding-password-input-in-ant

Note that RTC Ant build also has an attribute called "password". Make sure there are no conflicts between the attribute and the one you define.
https://jazz.net/help-dev/clm/topic/com.ibm.team.build.doc/topics/r_attributedescription.html

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
× 12,075
× 1,381

Question asked: Apr 07 '15, 8:17 p.m.

Question was seen: 4,827 times

Last updated: Apr 08 '15, 11:15 a.m.

Confirmation Cancel Confirm