Groovy
This action executes a Groovy script.
Required | Name | Type | Default | Description |
---|---|---|---|---|
* | script |
String | The groovy script to be executed. The last statement must return a Map either implicitly or explicitly. For a script that just launch background execution, an empty map ([:]) must be the last statement. | |
parameters |
Map |
Key/values parameters to be used in the script |
Name | Type | Description |
---|---|---|
status |
Status enum (Success, Failure) | Execution status of the groovy task |
outputs |
Map |
The map returned by the last statement of the executed script. |
Example: