createEnvironmentTemplate

Back to index

Summary

Creates an environment template.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentTemplateName
Stringrequired
The name of the environment template.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

Usage

Perl

$cmdr->createEnvironmentTemplate( "test-projectName", # projectName "test-environmentTemplateName" # environmentTemplateName # optionals );

ectool

ectool createEnvironmentTemplate \ "test-projectName" `# projectName` \ "test-environmentTemplateName" `# environmentTemplateName` \ # optionals

Examples

Perl

$cmdr->createEnvironmentTemplate("Default", "PROD Server");

ectool

ectool createEnvironmentTemplate "Default" "PROD Server"