Skip to end of metadata
Go to start of metadata

Executes a Groovy script on the agent. The script to run is provided either in the data element “groovy.script” or in a local file with the path given by “groovy.file”. The return value is stored in the output variable “groovy.return”.

groovy.scriptstringfalseThe script to run. If not set, "groovy.file" must be set. If both are set, "groovy.script" takes precedence.
groovy.filestringfalseThe path to a file that contains the script to run. The file must be readable by the jitterbit plugin engine. If not set, "groovy.script" must be set.
falseProvides the input parameters, if any, to the script. For example, if the script refers to an input parameter called "user", set the data element "groovy.input.user" to the value of this parameter.
falseProvides access to variables that are set in the script. For example, if the script defines a new variable "date", the value of that variable can be retrieved by defining the data element "", giving it any non-null value before the plugin runs. (This initial value is ignored - it is only used to signal the interest in the corresponding variable). After the plugin has run this data element will contain the value of the "date" variable.
groovy.returnstringfalseThe value returned by the script (if any). This data element does not need to be set before calling the script. After the script has run it contains the value returned by the script.