PatchingJob - setRemediationWithDeployOptions
PatchingJob - setRemediationWithDeployOptions
Description :
This command sets remediation options on the Patching job. It lets the user apply all the options from an existing Deploy Job to the ones generated during the Remediation Job run. 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). |
deployJobKey | DBKey | Handle to the Deploy Job run whose options you want to use with generated Deploy Job(s). |
Example
The following example sets remediation options on a Patching Job
Script
JOB_FOLDER="/DeployJobs"
JOB_NAME="TestDeployJob"
DEPOT_FOLDER="TestDepotGroup"
JOB_KEY=`blcli DeployJob getDBKeyByGroupAndName "$JOB_FOLDER" "$JOB_NAME"`
PATCH_JOB_KEY=`blcli PatchingJob getDBKeyByGroupAndName "/PatchingJobs" "TestPatchingJob"`
PATCH_JOB_KEY_NEW=`blcli PatchingJob setRemediationWithDeployOptions "$PATCH_JOB_KEY" "prefix" "$DEPOT_FOLDER" "$JOB_FOLDER" "$JOB_KEY"
Was this page helpful? Yes No
Submitting...
Thank you
Comments
How can we specify the ACL template of the generated batch job through this command?
Hi Madhu,
I have sent this query to the R&D team. I will update this page when I get some information.
I have raised an internal defect to track this comment - https://jira.bmc.com/browse/DRBLG-120468. Hence, closing the comment here.