Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3