append

abstract fun append(variable: String, value: String, options: EnvironmentVariableMutatorOptions = definedExternally)(source)

Append a value to an environment variable.

Note that an extension can only make a single change to any one variable, so this will overwrite any previous calls to replace, append or prepend.

Parameters

variable

The variable to append to.

value

The value to append to the variable.

options

Options applied to the mutator, when no options are provided this will default to { applyAtProcessCreation: true }.

Online Documentation