Page created: 6 Nov 2019
|
Page updated: 3 Jun 2020
The manage-profile tool uses the format ${VARIABLE} to support the substitution of variables in profiles. This format can be escaped by using another $. For example, after substitution, $${VARIABLE} becomes ${VARIABLE}.
Variable values can be read from a profile variables file or from environment variable values. If both options are used, the values that are specified in the file overwrite any environment variables.
The following code provides an example profile variables file.
MY_VARIABLE=value
MY_OTHER_VARIABLE=anothervalue
In this example, the tool provides the
PING_SERVER_ROOT
and PING_PROFILE_ROOT
variables. The following table describes the built-in variables.Built-in variable | Description |
---|---|
PING_SERVER_ROOT |
Evaluates to the absolute path of the server's root directory. |
PING_PROFILE_ROOT |
Evaluates to the individual profile's root directory. |
For more information about the tool's usage, run the command bin/manage-profile --help.