Skip to content

Script

Purpose

Call and list scripts.

Methods

Binding name: control


Method: void call(String scriptName)

Execute the named script and waits for it to complete. The current pipeline will be used by the called script.


Method: String[] moduleNames()

Return a collection of all scripts names.

Examples

control.moduleNames().each() {
    println "${it}"
}

pipeline.put "id", "MyControlTest"
control.call("Sleeper")