Back to index
Summary
Exports a plugin to a .zip file. You can use this file to import a plugin to another CloudBees CD/RO server.pluginNameStringrequiredThe name of the plugin. fileNameStringrequiredThe filename to which the export is done. downloadBooleanoptionalExport plugin file will be available to download. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.exportPlugin( pluginName: "test-pluginName", fileName: "test-fileName" /* optional arguments */ )