JobGroup - createGroupWithParentName
JobGroup - createGroupWithParentName
Description :
This command creates a job group within a parent job group. You must provide the fully qualified name of the parent job group (for example, /BLDeploy/WebApps).
This command returns the ID of the newly created job group.
Return type : Integer
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
groupName | String | Name of the job group to be created. |
parentGroupName | String | Fully qualified path to the parent job group. |
Example
This example shows how to create a job group inside another job group:
Script
PARENT_GROUP="/parent"
JOB_GROUP1="group1"
# Now create new group
JOB_GROUP1_ID=`blcli JobGroup createGroupWithParentName $JOB_GROUP1 $PARENT_GROUP`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*