-
Notifications
You must be signed in to change notification settings - Fork 10
Local shell
Svyatoslav Reyentenko edited this page Aug 2, 2012
·
1 revision
Executes shell on genesis server locally
Name | Type | Mandatory | Description |
---|---|---|---|
shell | String | Y | Specify shell name to run script (or commands). Allowed values: "powershell", "sh", "cmd" |
commands | List of strings | Y | Specify list of commands of path to scripts to be executed in shell |
runInParallel | Boolean | Specify whether all commands should be run in parallel (if value = true), or one-by-one. Default value: false | |
successExitCode | Integer | Specify runtime process exit code that should be considered to be success. Default value: 0 | |
outputDirectory | String | Path to directory where store execution outputs to. (Each command will create separate subfolder in this directory) |
execLocal {
shell = "cmd"
commands = ["ping 127.0.0.1", "/usr/bin/true"]
runInParallel = true
outputDirectory = "/var/log/genesis"
}