How to uninstall a plugin from Jenkins (Hudson)?
-
I have a few plugins in my Jenkins installation which I no longer need. I've already disabled the plugins (and my build still work), and I'd like to remove the plugins completely. What is the right process for completely removing a Jenkins (Hudson) plugin?
-
Answer:
After stopping Hudson/Jenkins, go to your HUDSON_HOME/plugins directory and remove both the .hpi file and the folder with the same name. So, if you were going to remove the CVS plugin, you would remove both the cvs.hpi file and the cvs directory. After that, restart Hudson/Jenkins and the plugin won't be there anymore. I actually removed that CVS plugin earlier today when I upgraded to Jenkins, and I wasn't able to find any other official way to remove a plugin other than by hand.
Jim Hurne at Stack Overflow Visit the source
Other answers
http://wiki.hudson-ci.org/display/HUDSON/Plugins explains that some core plugins ("Tier 1" plugins, as they are called) are shipped with Hudson itself, and I assume cannot be deleted therefore.
flip
Deleting the <plugin>.hpi file and corresponding <plugin>-plugin directory will effectively remove the plugin. However, if you have configured parameters that belong to the plugin within your jobs your Hudson or tomcat logs may contain *CannotResolveClassException: hudson.plugins ... * exceptions because it attempts to load the plugin. This can result in build failures even if build is successful. To fix that, go to the job configuration and save it again. This should get rid of the plugin reference if not, go into the hudson home jobs directory and open the config.xml found under the folder named after the job and remove the reference to the plugin restart hudson
neoscribe
You can disable it using the Jenkins » Plugin Manager. Go to Installed tab and untick the plugins you want to uninstall and restart Jenkins. Though it does not unintall, at least keeps it away from appearing from configuration pages..
Sampath
Related Q & A:
- How to uninstall Firefox add-on using javascript?Best solution by Stack Overflow
- How to open a file in external editor programmatically in eclipse plugin development?Best solution by Stack Overflow
- How to fire a function before and after automatically in a jquery plugin?Best solution by catchmyfame.com
- How to uninstall MSN messenger?Best solution by Yahoo! Answers
- How to uninstall windows live messenger?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.