modifyProject

On this page
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyProject( projectName: "test-projectName" /* optional arguments */ )