History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3502
Type: New Feature New Feature
Status: Reopened Reopened
Priority: Major Major
Assignee: Robin Shen
Reporter: Benoit Maury-Bouet
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Server wide variables

Created: 26/Feb/20 09:24 AM   Updated: 02/Mar/20 11:57 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Dear all,

What do you think about having the possibility to create server wide variables ?
In some configuration context it would be useful to have varaibles even when you're not in a configuration/build context

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [27/Feb/20 12:21 AM]
Can you please give me an example on how this type of variable can be used?

Benoit Maury-Bouet [27/Feb/20 07:25 AM]
For instance when deifning cloud profiles we could use server wide variables to reference some type of hardware profile without duplicating from one config to another.
Also in dashboards scripting for instance, as we are not in a build context, I sometime have to "hardcode" certain url / values that could be in a server wide variable.
etc.

Robin Shen [28/Feb/20 12:18 AM]
That makes sense. Thanks for clarification.

Robin Shen [28/Feb/20 02:30 AM]
The user attributes setting for each node in grid page can serve this purpose. To get value of an attribute from current node, just call ${node.getAttribute("attributeName")}

Robin Shen [29/Feb/20 12:29 AM]
Close as user attributes can serve this purpose well

Benoit Maury-Bouet [02/Mar/20 08:56 AM]
But the user attributes is not a very good fit for "secret/password" type of variables right ?

Robin Shen [02/Mar/20 11:57 PM]
Thanks for the info. Reopened now