exportPlugin

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

Perl

$cmdr->exportPlugin( "test-pluginName", # pluginName "test-fileName" # fileName # optionals );

ectool

ectool exportPlugin \ "test-pluginName" `# pluginName` \ "test-fileName" `# fileName` \ # optionals

Examples

Perl

$cmdr->exportPlugin("MyPlugin-1.0.0.4", "MyPluginName.zip");

ectool

ectool exportPlugin "MyPlugin-1.0.0.4" "MyPluginName.zip"