Back to index
Summary
Creates a new project.projectNameStringrequiredThe name for the project that must be unique among all projects. credentialNameStringoptionalThe name of the credential object. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. resourceNameStringoptionalName for the resource; must be unique among all resources. trackedBooleanoptionalTrue to enable change tracking for this project. workspaceNameStringoptionalThe name of the workspace. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createProject( projectName: "test-projectName" /* optional arguments */ )