ContentImportExport - commitTemplate
ContentImportExport - commitTemplate
Description :
This command commits specified component templates to git.
Usage example:
ContentImportExport commitTemplate DBKey:STemplateModelKeyImpl:2000037-6-2005500 true "commit message"
The templateKey argument provides a DBKey identifying the template that describes the assets on which the Compliance Job is based.
TEMPLATE_KEY=`blcli Template getDBKeyByGroupAndName /filesystem basefiles`
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
templateKey | DBKey | Handle to the template describing the assets to be commited to git. |
exportDependencies | String | Specify wether to include all the dependencies of template like blpackage etc. By default this true, which leads to creation of zip file of the component template. |
checkinComments | String | Specify commit message to be included in git while commiting the template. |
Example
The following example commits a template using DBkey and commit message:
Script