Back to index
Summary
Modifies a plugin configuration.projectNameStringrequiredThe name for the project that must be unique among all projects. pluginConfigurationNameStringrequiredUnique name of the plugin configuration within the project. clearCredentialNamesArray<Unknown>optionalCollection of existing credential names to be cleared for the plugin configuration. clearCredentialsBooleanoptionalWhether or not to clear existing credentials for the plugin configuration. clearFieldsBooleanoptionalWhether or not to clear fields for the plugin configuration. credentialReferenceParametersArray<CredentialReferenceParameter>optionalList of credential parameters with references to existing credentials as parameter values. If the parameter value is a property reference then the credential would be resolved at runtime. 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. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyPluginConfiguration( projectName: "test-projectName", pluginConfigurationName: "test-pluginConfigurationName" /* optional arguments */ )