Managing plugins
Plugins are Ruby on Rails code additions for applying custom functionality to BMC Release Process Management.
In plugins, use the manifest.yml file to define the complete file map for your plugin. Use the routes.rb file only to define the routes for the plugin.
You can access your plugins from the Environment tab.
To integrate your plugin into BMC Release Process Management, use the following guidelines:
To create the directory structure for a plugin
When you create a BMC Release Process Management plugin, follow the directory structure below:
To add a plugin to the application
- Go to <RLM_HOME> and create a new plugins folder.
- Extract the plugin files to <RLM_HOME>/plugins.
- Stop the BMC Release Process Management Server
- In command line, go to <RLM_HOME>\releases\<Current BRPM version>\RPM\config
Create the necessary configuration for the plugin by running the following code:
jruby -S rake app:plugins_setup PLUGIN_LOCATION=<Plugin_Home>Load the plugin code into the application by running the following code:
jruby -S rake app:plugins_loadCreate database entries necessary for your plugin by running the following code:
jruby -S rake db:migrate- Start the BMC Release Process Management Server.
To remove plugins from the application
- Stop the BMC Release Process Management Server
- In command line, go to <RLM_HOME>\releases\<Current BRPM version>\RPM\config
Run the following code:
jruby -S rake app:plugins_remove- Start the BMC Release Process Management Server.