Back to index
Summary
Modifies an existing component.projectNameStringrequiredThe name for the project that must be unique among all projects. componentNameStringrequiredThe name of the component. actualParametersArray<ActualParameter>optionalParameters passed as arguments to the application component. applicationNameStringoptionalThe name of an application to scope this component to. clearActualParametersBooleanoptionalIf true , the step should remove all actual parameters.credentialNameStringoptionalThe name of a credential to attach to this component. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. pluginKeyStringoptionalThe key of the plugin. pluginNameStringoptionalThe name of the plugin. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyComponent( projectName: "test-projectName", componentName: "test-componentName" /* optional arguments */ )