• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • plugin-proposals
    • None
    • Platform: All, OS: All

      i would like to request a feature, that i can uninstall plugins in the plugin
      center. At the moment the only way I see to uninstall, is to delete the files
      (hpi, ..) by hand.

          [JENKINS-3070] Uninstaller for plugins

          davidkarlsen added a comment -

          It's possible to do this through the console.
          Go into the pluggins section, select the tab for active plugins and uncheck the plugin you don't want active.

          davidkarlsen added a comment - It's possible to do this through the console. Go into the pluggins section, select the tab for active plugins and uncheck the plugin you don't want active.

          updated the description (fixed typos)

          peter_schuetze added a comment - updated the description (fixed typos)

          krisdames added a comment -

          @davidkarlsen: Does that actually uninstall a plugin, or just deactivate it?

          krisdames added a comment - @davidkarlsen: Does that actually uninstall a plugin, or just deactivate it?

          Extending the request:
          The issue is a little bit more complicated than just removing the binaries. It would be great to have the configuration removed as well.

          Another issue are the bundled plugins, that can't be removed at all and need to be disabled when they get bundled.

          @davidkarlsen: This is not the same. The binaries are still there. The idea behind uninstalling is, that the binaries are gone.

          peter_schuetze added a comment - Extending the request: The issue is a little bit more complicated than just removing the binaries. It would be great to have the configuration removed as well. Another issue are the bundled plugins, that can't be removed at all and need to be disabled when they get bundled. @davidkarlsen: This is not the same. The binaries are still there. The idea behind uninstalling is, that the binaries are gone.

          elpargo added a comment -

          One thing I noticed. Until this is fix the string at /manage should probably be changed from.

          Add, remove, disable or enable plugins that can extend the functionality of Hudson.

          to:

          Add, disable or enable plugins that can extend the functionality of Hudson.

          elpargo added a comment - One thing I noticed. Until this is fix the string at /manage should probably be changed from. Add, remove, disable or enable plugins that can extend the functionality of Hudson. to: Add, disable or enable plugins that can extend the functionality of Hudson.

          dorothyvaliga added a comment -

          I'd have an option to leave the configuration in case you want to temporarily uninstall the plugin – something I do frequently when debugging odd behavior that crops up. I don't want to lose all the work if I end up bringing the plugin back.

          dorothyvaliga added a comment - I'd have an option to leave the configuration in case you want to temporarily uninstall the plugin – something I do frequently when debugging odd behavior that crops up. I don't want to lose all the work if I end up bringing the plugin back.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/PluginWrapper.java
          core/src/main/resources/hudson/PluginManager/installed.jelly
          core/src/main/resources/hudson/PluginWrapper/uninstall.groovy
          core/src/main/resources/hudson/PluginWrapper/uninstall.properties
          http://jenkins-ci.org/commit/jenkins/29f6a5dd010d490569014bd0d045daea777521b3
          Log:
          [FIXED JENKINS-3070]

          Added uninstaller that removes *.jpi.

          Compare: https://github.com/jenkinsci/jenkins/compare/ce6c6a91767b...29f6a5dd010d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/PluginWrapper.java core/src/main/resources/hudson/PluginManager/installed.jelly core/src/main/resources/hudson/PluginWrapper/uninstall.groovy core/src/main/resources/hudson/PluginWrapper/uninstall.properties http://jenkins-ci.org/commit/jenkins/29f6a5dd010d490569014bd0d045daea777521b3 Log: [FIXED JENKINS-3070] Added uninstaller that removes *.jpi. Compare: https://github.com/jenkinsci/jenkins/compare/ce6c6a91767b...29f6a5dd010d

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1983
          [FIXED JENKINS-3070] (Revision 29f6a5dd010d490569014bd0d045daea777521b3)

          Result = SUCCESS
          kohsuke : 29f6a5dd010d490569014bd0d045daea777521b3
          Files :

          • core/src/main/resources/hudson/PluginWrapper/uninstall.groovy
          • core/src/main/resources/hudson/PluginWrapper/uninstall.properties
          • core/src/main/resources/hudson/PluginManager/installed.jelly
          • core/src/main/java/hudson/PluginWrapper.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1983 [FIXED JENKINS-3070] (Revision 29f6a5dd010d490569014bd0d045daea777521b3) Result = SUCCESS kohsuke : 29f6a5dd010d490569014bd0d045daea777521b3 Files : core/src/main/resources/hudson/PluginWrapper/uninstall.groovy core/src/main/resources/hudson/PluginWrapper/uninstall.properties core/src/main/resources/hudson/PluginManager/installed.jelly core/src/main/java/hudson/PluginWrapper.java changelog.html

          cowwoc added a comment -

          Kohsuke,

          I believe this is a bug at https://github.com/jenkinsci/jenkins/commit/29f6a5dd010d490569014bd0d045daea777521b3#L4R1

          1. "This will remove the plugin binary from your $JENKINS_HOME": I suggest removing the word "your"
          2. "but it'll the configuration files of the plugin": you seem to be missing a word. What are you trying to say about the configuration files?

          cowwoc added a comment - Kohsuke, I believe this is a bug at https://github.com/jenkinsci/jenkins/commit/29f6a5dd010d490569014bd0d045daea777521b3#L4R1 "This will remove the plugin binary from your $JENKINS_HOME": I suggest removing the word "your" "but it'll the configuration files of the plugin": you seem to be missing a word. What are you trying to say about the configuration files?

          It's a great update!!!

          Bao Xiaopan(Bob) added a comment - It's a great update!!!

            wjprakash wjprakash
            kukudas kukudas
            Votes:
            55 Vote for this issue
            Watchers:
            38 Start watching this issue

              Created:
              Updated:
              Resolved: