Back to index
Summary
Creates a new plugin configuration.projectNameStringrequiredThe name for the project that must be unique among all projects. pluginConfigurationNameStringrequiredUnique name of the plugin configuration within the project. 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. pluginKeyStringoptionalThe plugin key. pluginProjectNameStringoptionalThe name for the plugin's project. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createPluginConfiguration( projectName: "test-projectName", pluginConfigurationName: "test-pluginConfigurationName" /* optional arguments */ )