modifyPluginConfiguration

On this page
Back to index

Summary

Modifies a plugin configuration.
projectName
Stringrequired
The name for the project that must be unique among all projects.
pluginConfigurationName
Stringrequired
Unique name of the plugin configuration within the project.
clearCredentialNames
Array<Unknown>optional
Collection of existing credential names to be cleared for the plugin configuration.
clearCredentials
Booleanoptional
Whether or not to clear existing credentials for the plugin configuration.
clearFields
Booleanoptional
Whether or not to clear fields for the plugin configuration.
credentialReferenceParameters
Array<CredentialReferenceParameter>optional
List 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.
credentials
Array<Credential>optional
Credentials to be used by the plugin config.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
fields
Array<Field>optional
Fields for plugin configuration.
newName
Stringoptional
The 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 */ )