createDashboard

Back to index

Summary

Creates a new dashboard.
projectName
Stringrequired
The name for the project that must be unique among all projects.
dashboardName
Stringrequired
Unique name of the dashboard within the project.
column
Arrayoptional
List of the columns to display for the dashboard of type COMMAND_CENTER.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
layout
Stringoptional
Layout to use for adding the widgets to the dashboard.
Possible values: "FLOW"
type
Stringoptional
Type of the dashboard.
Possible values: "COMMAND_CENTER", "STANDARD"

Usage

Perl

$cmdr->createDashboard( "test-projectName", # projectName "test-dashboardName" # dashboardName # optionals );

ectool

ectool createDashboard \ "test-projectName" `# projectName` \ "test-dashboardName" `# dashboardName` \ # optionals

Examples

Perl

$cmdr->createDashboard("Default", "Executive Overview", {description => "Activity at a glance"});

ectool

ectool createDashboard Default "Executive Overview"