Back to index
Summary
Sets thepromoted
argument on a plugin. Only one version of a plugin can be promoted at a time, so setting the promoted flag to true
on one version sets the flag to false
on all other plugins with the same key. The promoted version is the one resolved by an indirect reference of the form $[/plugins/<key>]
or a plugin name argument without a specified version.pluginNameStringrequiredThe name of the plugin. promotedBooleanoptionalTrue if the plugin should be promoted, otherwise false. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.promotePlugin( pluginName: "test-pluginName" /* optional arguments */ )