PatchingJob - createDownloadJobForMissingPatches
PatchingJob - createDownloadJobForMissingPatches
Description :
This command downloads all the missing patches for a anlaysis job run. This command returns a handle to the job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
paJobRunKey | DBKey | Handle to the Patching Job run. |
jobName | String | Name of the Download job. |
depJobGroupName | String | Name of a group that should contain the Download job. |
Example
The following example creates a download job for a patching job.
Script
JOB_FOLDER="/Jobs/PatchingJobs"
JOB_NAME="TestPatchingJob"
JOB_KEY=`blcli PatchingJob getDBKeyByGroupAndName "$JOB_FOLDER" "$JOB_NAME"`
PA_JOB_RUNKEY=`blcli PatchingJob executeJobAndWait $JOB_KEY
DWNLD_JOB_KEY=`blcli PatchingJob createDownloadJobForMissingPatches $PA_JOB_RUNKEY "TestDownload" $JOB_FOLDER
Was this page helpful? Yes No
Submitting...
Thank you
Comments