Summary
Sets an RWX output value for the current task. The value is written to
{RWX_VALUES}/{key}; each key is a separate file, so repeated
calls with the same key overwrite the previous value. Multiline values
are written verbatim.
Syntax
public void SetValue(string key, string value)
Examples
if (BuildSystem.Rwx.IsRunningOnRwx)
{
BuildSystem.Rwx.Commands.SetValue("cake_version", "1.0.0");
}
if (Rwx.IsRunningOnRwx)
{
Rwx.Commands.SetValue("cake_version", "1.0.0");
}
Parameters
| Name |
Type |
Description |
| key |
string |
The value key. May not contain path separators or ... |
| value |
string |
The value contents. |
Return Value