prepend
abstract fun prepend(variable: String, value: String, options: EnvironmentVariableMutatorOptions = definedExternally)(source)
Prepend 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 prepend.
value
The value to prepend to the variable.
options
Options applied to the mutator, when no options are provided this will default to { applyAtProcessCreation: true }
.