Back to index
Summary
Creates an environment template.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentTemplateNameStringrequiredThe name of the environment template. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createEnvironmentTemplate( projectName: "test-projectName", environmentTemplateName: "test-environmentTemplateName" /* optional arguments */ )