createPluginConfiguration

On this page
Back to index

Summary

Creates a new 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.
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.
pluginKey
Stringoptional
The plugin key.
pluginProjectName
Stringoptional
The 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 */ )