pyjen.plugin module
Interface for interacting with Jenkins plugins
- class pyjen.plugin.Plugin(plugin_config)[source]
Bases:
object
Abstraction around one Jenkins plugin
- Parameters
plugin_config (dict) – Parsed Jenkins API data associated with this plugin. Typically this content is produced by the Jenkins plugin manager API. See
PluginManager
for details.
- download(output_folder, overwrite=False)[source]
Downloads the plugin installation file for this plugin
- property latest_download_url
URL where the latest version of this plugin can be downloaded
- Type
- property required_dependencies
metadata describing the plugins this plugin depends on. Nested dictionaries contain the ‘shortName’ and ‘version’ fields for use by the caller.