Class Name |
com.midvision.rapiddeploy.plugins.transport.remoting.task.SecureAgentExecutionEnvironmentSpecificTask |
Category |
Agent |
Execute Command on Downstream Agents Task.
Description
Executes a command from the remote server via an agent onto another set of downstream servers.
The agent must be running on the downstream server.
Examples
executableToRunPathAndArgs is a command, or set of chained commands, to run on the downstream servers.
Unix Examples for executableToRunPathAndArgs:
/bin/ls -lrt /tmp;/bin/ls -lrt /tmp
/bin/sh -c "/bin/ls -lrt /tmp;/bin/ls -lrt /tmp"
/bin/sh -c ". ~/.profile;env"
This example will not work:
. ~/.profile;env
Parameters
The following parameters may be set on this task:
Table of task Parameters
Name |
Type |
Default Value |
Optional |
Description |
executableToRunPathAndArgs |
java.lang.String |
/bin/ls /tmp; /bin/cat /tmp/install.dat |
false |
The command to run and all of its argumets. Commands
may be chained together.
|
failOnError |
java.lang.Boolean |
true |
false |
This task will not fail the deployment on error if set
to false.
|
skipOnFailure |
java.lang.String |
Previous Task Name |
true |
Skip current task based on the name of the previous task whether has failed or not.
|
socketImplementation |
java.util.List |
bisocket |
false |
The socket implementation to use. Generally this should
be set to bisocket. Supported values are:
socket, bisocket
|
targetServerNames |
java.lang.String |
server1,server2 |
false |
Comma separated list of target servers to copy the
file(s) to.
|
targetServerPort |
java.lang.String |
20000 |
false |
Agent port on the target serves. |
targetServerSecurePort |
java.lang.String |
20443 |
true |
Secure Agent port on the target serves. |
targetServerTimeout |
java.lang.String |
1200000 |
false |
Timeout on the target server(s) in milliseconds.
|