JobGroup - groupNameToId

JobGroup - groupNameToId

Description :

This command gets the ID of a job group. You must provide the full path to the job group (for example, /BLDeploy/WebApps).

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

groupName

String

Fully qualified path to the job group.

Example

This command is used to get the ID of a job group. The ID is then often used as input to another command.

Script





JOBGROUP_SUB2="/parent/sub1/sub2" 

JOBGROUP_SUB2_ID=`blcli JobGroup groupNameToId $JOBGROUP_SUB2` 



Was this page helpful? Yes No Submitting... Thank you

Comments