Can I pass environment variable in param value?

The main goal is to store somewhere a global variable with default value, update it with job and use it as a configuration parameter in Cloud Profile.

param("key", "%env.VALUE%")

Both environment variable and param are used in Root project.

Is it possible or more convenient solution exists?

1 comment
Comment actions Permalink

Hi Pavel,

 

did you try it and had any issue with it? What you wrote should work just fine. Just as a reminder, the environment variable will pick the value at the agent's process, not on the server. You can also override its value by using something along the lines of 

param("env.VALUE", "newvalue")
0

Please sign in to leave a comment.