createTemplateCatalogItem

On this page
Back to index

Summary

Create template catalog item for an object.
projectName
Stringrequired
The name for the project that must be unique among all projects.
catalogItemName
Stringrequired
The name of the template catalog item.
catalogName
Stringoptional
The name of the catalog to create a template catalog item in. If not provided, a catalog with the name ENTITY_TYPE Templates is used. If it does not exist and the user has the required permissions, it is created.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
entityId
UUIDoptional
The ID of the template creation object.
entityType
Stringoptional
The type of the template creations object.
path
Stringoptional
A property path indicating a single template creation object.

Usage

Perl

$cmdr->createTemplateCatalogItem( "test-projectName", # projectName "test-catalogItemName" # catalogItemName # optionals );

ectool

ectool createTemplateCatalogItem \ "test-projectName" `# projectName` \ "test-catalogItemName" `# catalogItemName` \ # optionals