DeployJob - findBlPackageForLatestJobRun
DeployJob - findBlPackageForLatestJobRun
Description :
This command finds the BLPackage used in the most recent run of a given Deploy Job. This command returns a handle to the BLPackage.
Return type : com.bladelogic.om.infra.model.base.keys.SDepotObjectKey
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 command returns a handle to the BLPackage used in the most recent run of a Deploy Job called DeployApache. DeployApache is located in the folder /Applications/Apache/Deploy.
Script
DeployJob findBlPackageForLatestJobRun /Applications/Apache/Deploy DeployApache
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*