createCatalogItem

Back to index

Summary

Creates a new catalog item in a catalog.
projectName
Stringrequired
The name for the project that must be unique among all projects.
catalogName
Stringrequired
The name of the catalog.
catalogItemName
Stringrequired
The name of the catalog item.
afterItem
Stringoptional
If specified, the catalog item will be placed after the named catalog item.
allowScheduling
Booleanoptional
If specified, the schedules/triggers creation is allowed for a catalog item.
beforeItem
Stringoptional
If specified, the catalog item will be placed before the named catalog item.
buttonLabel
Stringoptional
The name of the button label.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
dslParamForm
Stringoptional
The DSL Parameter form Metadata.
dslString
Stringoptional
The DSL string that is evaluated for the catalog item.
endTargetJson
Stringoptional
The JSON derived end target object.
firstItem
Booleanoptional
True to make a catalog item the first in a catalog.
iconUrl
Stringoptional
The URL for the icon to be used in UI. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>].
subpluginKey
Stringoptional
The name of the procedure's pluginKey.
subprocedure
Stringoptional
The name of the subprocedure.
subproject
Stringoptional
The name of the project that contains the subprocedure or subprocess.
templateObjectType
Stringoptional
The template object type.
Possible values: "none", "release"
useFormalParameter
Booleanoptional
If true catalog item uses formalParameters data, if false formXml will be used.

Usage

Perl

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

ectool

ectool createCatalogItem \ "test-projectName" `# projectName` \ "test-catalogName" `# catalogName` \ "test-catalogItemName" `# catalogItemName` \ # optionals

Examples

Perl

$cmdr->createCatalogItem("ENTBU Deploy", "ENTBU Q2 Catalog", "Oracle WebLogic", {buttonLabel => "Create"});

ectool

ectool createCatalogItem "ENTBU Deploy" "ENTBU Q2 Catalog" "Oracle WebLogic" --buttonLabel "Create"