modifyProject

Back to index

Summary

Modifies an existing project.
projectName
Stringrequired
The name for the project that must be unique among all projects.
credentialName
Stringoptional
The name of the credential object.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
newName
Stringoptional
The new name for an existing object that is being renamed.
resourceName
Stringoptional
Name for the resource; must be unique among all resources.
tracked
Booleanoptional
True to enable change tracking for this project.
workspaceName
Stringoptional
The name of the workspace.

Usage

Perl

$cmdr->modifyProject( "test-projectName" # projectName # optionals );

ectool

ectool modifyProject \ "test-projectName" `# projectName` \ # optionals

Examples

Perl

To change the project description:

$cmdr->modifyProject("Default", {description => "A very simple project"});

To enable Change Tracking for the Default project:

$cmdr->modifyProject("Default", {tracked => true});

ectool

To change the project description:

ectool modifyProject "Default" --description "A very simple project"

To enable Change Tracking for the Default project:

ectool modifyProject "Default" --tracked true