exportPlugin

On this page
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.
pluginName
Stringrequired
The name of the plugin.
fileName
Stringrequired
The filename to which the export is done.
download
Booleanoptional
Export 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 */ )