Back to index
Summary
Creates a new dashboard.projectNameStringrequiredThe name for the project that must be unique among all projects. dashboardNameStringrequiredUnique name of the dashboard within the project. columnsArray<Unknown>optionalList of the columns to display for the dashboard of type COMMAND_CENTER. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. layoutStringoptionalLayout to use for adding the widgets to the dashboard. typeStringoptionalType of the dashboard. Possible values: "COMMAND_CENTER" , "STANDARD" |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createDashboard( projectName: "test-projectName", dashboardName: "test-dashboardName" /* optional arguments */ )