Use the Environments panel to create and manage environments for your projects. To view the panel, select Environments.
In the Environments panel, you can also click an environment to display and edit its variables.
Specify the following environment properties:
In the Environments panel, select a variable to view the Variables panel. Use the Variables panel to specify the following properties:
If a value is in single quotes, variable names are passed as literals rather than interpreted. For example, a variable assignment MyEnv='$env' causes the string $env to be assigned to MyEnv, rather than the value of variable $env.
.bset env "test = `type text.txt`"
The
lines in the file are concatenated. For example, suppose the file's
contents were as follows:A first line
And a second line
The variable's value then becomes the
following:A first lineAnd a second line
One of the following:
Assign Hidden variables are protected from editing by default. If you do not have the Edit Hidden Tags permission set, you cannot edit these values. However, you can delete and recreate them if the permissions are set. If the Edit Hidden Tags permission is set, the values can be edited and then entered for use. This behavior prevents you from displaying the value of an Assign Hidden variable by changing its type to Set.
If the Action value of the environment variable is Assign Hidden, the Type and Action values of the variable cannot be changed. If the Action value of the environment variable is not Assign Hidden, you cannot change the Action to Assign Hidden.
The Assign Hidden environment variable cannot work with the 7.1.x agent. If you want to use the Assign Hidden environment variables, update your agent to the corresponding version. For example, if the console version is 8.0.0.1, update the agent version to 8.0.0.1.
If a job containing Required variables is started by the scheduler rather than a user, the variables are left unchanged if they currently have a value or blank if they do not have a value.
An environment snapshot is an instance of an environment. The Snapshot tab provides the name of the snapshot. Use this tab to view or change the snapshot name and comments about the snapshot.