Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

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 - setRemediationOptions


PatchingJob - setRemediationOptions

Description :

This command sets remediation options on a Patching Job. This command returns a handle to the job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

patchingJobKey

DBKey

Handle to the Patching Job.

pckPrefix

String

Prefix for naming the new Batch Job/Deploy Job/Package(s).

depotGroupName

String

Name of a group that should contain the new package(s).

depJobGroupName

String

Name of a group that should contain the generated Deploy Job(s).

Example

The following example sets remediation options on a Patching Job.

Script





JOB_FOLDER="/DeployJobs"

DEPOT_FOLDER="TestDepotGroup"

PATCH_JOB_KEY=`blcli PatchingJob getDBKeyByGroupAndName "/PatchingJobs" "TestPatchingJob"`

PATCH_JOB_KEY_NEW=`blcli PatchingJob setRemediationOptions "$PATCH_JOB_KEY" "prefix" "$DEPOT_FOLDER" "$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