Summary
Exports an environment variable for downstream RWX tasks. The value is
written to {RWX_ENV}/{name}; each name is a separate file, so
repeated calls with the same name overwrite the previous value. The
variable becomes visible to tasks that depend on the current one via
use. Note that RWX trims a single trailing \n from the
file contents when materializing the variable.
Syntax
public void SetEnvironmentVariable(string name, string value)
Parameters
| Name |
Type |
Description |
| name |
string |
The environment variable name. May not contain path separators or ... |
| value |
string |
The environment variable value. |
Return Value