How to use hidden properties in build definition?
Is there any documentation on how to use hidden build properties? The only mention I found says:
|
Accepted answer
In the Build Definition editor, when you create a build property, you can check the hidden option. To access it in the Ant script, you need to pass these build properties as system properties. In the Ant tab of the build definition, add the hidden property to the JVM arguments like -D<ant property>=${hiddenProperty}. When Ant is invoked by JBE, it will assign the actual value to the ant property. Alejandro Correa selected this answer as the correct answer
Comments
Alejandro Correa
commented Nov 03 '17, 12:56 p.m.
Hi, thanks for the quick reply. Do you know which release this functionality is available in? I'm using 6.0.3 and don´t see the option to mark a property as hidden.
Alejandro Correa
commented Nov 03 '17, 2:13 p.m.
Since there is no checkbox to mark it as hidden in the 6.0.3 client I am using, I put HIDDEN in the description and passed it as a JVM argument as you suggested, but the value is still scrambled when used in the Ant script.
Hidden property is available in 6.0.4. Putting the HIDDEN text in the description is used with Build Forge integration, not JBE. |
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.