Plugin Management

compared with
Current by Robin Shen
on Aug 07, 2009 06:04.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 3 changes. View first change.

 QuickBuild is designed around [OSGi|http://www.osgi.org], a plugin framework. This enables QuickBuild to be extended easily by just installing new plugins. In fact many of its features are provided by plugins out, such as steps, repositories, reports, etc. All QuickBuild plugins are kept in the _plugins_ folder under QuickBuild's installation directory, with each file representing a single plugin.
  QuickBuild is designed around [OSGi|http://www.osgi.org], a plugin framework. This enables QuickBuild to be extended easily by just installing new plugins. In fact many of its features are provided by plugins out of the box, such as steps, repositories, reports, etc. All QuickBuild plugins are kept in the _plugins_ folder under QuickBuild's installation directory, with each file representing a single plugin.
  
 *NOTE:* When mentioning plugin management, we are referring to QuickBuild server. You may noticed that the agent installation also has the _plugins_ directory. However, you don't need to take care of agent plugins, because QuickBuild agents will sync its plugins with QuickBuild server automatically when you install/uninstall plugins on the server.
  
 To get more information on installed plugins, please go to the Plugin Management screen as shown below:
!pluginmanagement.png!
  
 !plugin-management.png!
  
 As the screenshot indicates, registered plugins can be configured, enabled, disabled, or uninstalled. The icon before the plugin ID indicates the status of the plugin:
 * !disable.gif!, this plugin is disabled. If a plugin is disabled, its functionality will not be available to the system. For example, if the plugin _com.pmease.quickbuild.plugin.ant_ is disabled, the ant build step will not appear in the step menu.
 * !enable.gif!, this plugin is enabled
 * !warning.gif!, this plugin can not be enabled as it needs to be configured first. Once it is configured, its status will change to _enabled_.
  
 h3. Configuring plugins
  
 Plugins can be configured by clicking the _Configure_ link on the Plugin Management screen as shown above. After this link is clicked, a plugin setting screen will display as shown below (using Maven plugin as example):
 !plugin-setting.png!
  
 h3. Installing new plugins
  
 New plugins can be installed by directly dropping the plugin file into the _plugins_ folder, followed by restart of the QuickBuild server. Or you can upload the plugin file by using the file upload field at bottom of the Plugin Management screen as shown below:
  
 !install-new-plugin.png!
  
 You won't need to restart QuickBuild server if you are installing plugin by using the Plugin Management screen.
  
 h3. Uninstalling existing plugins
  
 Existing plugins can be uninstalled by directly deleting the plugin file in the _plugins_ folder, followed by restart of the QuickBuild server. Or you can click the _Uninstall_ link on the Plugin Management screen. You won't need to restart QuickBuild server if you are uninstalling plugin by using the Plugin Management screen.
  * The icon before the plugin name indicates the status of the plugin:
 ** !disable.gif! This plugin is disabled. If a plugin is disabled, its functionality will not be available to the system. For example, if the plugin _com.pmease.quickbuild.plugin.ant_ is disabled, the ant build step will not appear in the step menu.
 ** !enable.gif! This plugin is enabled.
 ** !warning.gif! This plugin can not be enabled as it needs to be configured first. Once it is configured, its status will change to _enabled_.
 * For plugins with settings, a _Configure_ link will appear in the operation list. Following this link, plugin setting page will be opened to let the user view/edit settings of the plugin.
 * New plugins can be installed by dropping the plugin file into the _plugins_ folder, followed by restart of the QuickBuild server.
 * Existing plugins can be uninstalled by deleting the plugin file from the _plugins_ folder, followed by restart of the QuickBuild server.