Project

2 minute readReference

createProject

Creates a new project.

Arguments

Argument Name Type Description

projectName

String

(Required) The name for the project that must be unique among all projects.

credentialName

String

The name of the credential object.

description

String

Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

resourceName

String

Name for the resource; must be unique among all resources.

tracked

Boolean

True to enable change tracking for this project.

workspaceName

String

The name of the workspace.

Positional arguments

projectName

Usage

ec-perl

$cmdr->createProject(<projectName>, {<optionals>});

ectool

ectool createProject projectName [optionals]

deleteProject

Deletes a project, including all procedures, procedure steps, and jobs within that project.

Arguments

Argument Name Type Description

projectName

String

(Required) The name for the project that must be unique among all projects.

foreground

Boolean

True to delete the object in the foreground. The default is to delete the object in the background.

Positional arguments

projectName

Usage

ec-perl

$cmdr->deleteProject(<projectName>, {<optionals>});

ectool

ectool deleteProject projectName [optionals]

getProject

Finds a project by its name.

Arguments

Argument Name Type Description

projectName

String

(Required) The name for the project that must be unique among all projects.

Positional arguments

projectName

Usage

ec-perl

$cmdr->getProject(<projectName>);

ectool

ectool getProject projectName

getProjects

Retrieves all projects.

Arguments

None.

Positional arguments

None.

Usage

ec-perl

$cmdr->getProjects();

ectool

ectool getProjects

modifyProject

Modifies an existing project.

Arguments

Argument Name Type Description

projectName

String

(Required) The name for the project that must be unique among all projects.

credentialName

String

The name of the credential object.

description

String

Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

newName

String

The new name for an existing object that is being renamed.

resourceName

String

Name for the resource; must be unique among all resources.

tracked

Boolean

True to enable change tracking for this project.

workspaceName

String

The name of the workspace.

Positional arguments

projectName

Usage

ec-perl

$cmdr->modifyProject(<projectName>, {<optionals>});

ectool

ectool modifyProject projectName [optionals]