DeployJob - findTargetServersForLatestJobRun
DeployJob - findTargetServersForLatestJobRun
Description :
This command finds the servers that were the target of the most recent run of a given Deploy Job. This command returns a list of the server IDs.
Return type : java.util.List
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupName | String | Name of the job folder containing the job. |
jobName | String | Name of the Deploy Job. |
Example
The following example finds the servers that were the target of the most recent run of a Deploy Job called DeployApache. DeployApache is located in the folder /Applications/Apache/Deploy.
Script
DeployJob findTargetServersForLatestJobRun /Applications/Apache/Deploy DeployApache
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*