It's all about the answers!

Ask a question

Build definition with HIDDEN property


Anderson Silva (311911) | asked Apr 07 '15, 8:17 p.m.
edited Apr 08 '15, 11:15 a.m. by Dejan Custic (2855)
 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?

One answer



permanent link
Donald Nong (14.5k614) | answered Apr 07 '15, 11:49 p.m.
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

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.