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.5