-
Notifications
You must be signed in to change notification settings - Fork 10
Remote shell
Svyatoslav Reyentenko edited this page Aug 2, 2012
·
1 revision
Executes shell commands on environment servers via SSH
Name | Type | Mandatory | Description |
---|---|---|---|
commands | List of strings | Y |
Specify list of commands of path to scripts to be executed in shell. Commands will be run on each server sequentially In case of path use URL format. For instance scripts located on genesis server can be accessed as file:///home/usr/script.sh |
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). Default value is "~/.genesis" | |
roles | List of strings | Specify environment servers to run commands on (Selects all servers by the roles provided) | |
isGlobal | boolean | Specify if step should search among servers and virtual machines that were added to environment during other workflows execution. Default is "false" |
execRemote {
roles = ["database"]
commands = ["ping 127.0.0.1", "file:///home/genesis/script.sh"]
}