• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Current Jenkins weekly - WAR

      Provide a mechanism to incorporate a custom PluginManager when launching Jenkins as a webapp.

      The motivating use case for this change is custom wars that want to implement some kind of custom "bundling-like" functionality, in the sense of modifying the available plugins before they are loaded.
      Because of the point in the initialization sequence the hook must be introduced, an extension point to be implemented by a plugin is not a feasible solution.

          [JENKINS-34681] Allow customization of default PluginManager

          Andres Rodriguez created issue -
          Andres Rodriguez made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Andres Rodriguez made changes -
          Remote Link New: This issue links to "PR jenkins#2323 (Web Link)" [ 14284 ]
          Andres Rodriguez made changes -
          Summary Original: Allow customization of PluginManager New: Allow customization of default PluginManager
          Andres Rodriguez made changes -
          Description Original: Provide a mechanism to incorporate a custom PluginManager when launching Jenkins as a webapp. New: Provide a mechanism to incorporate a custom PluginManager when launching Jenkins as a webapp.

          The motivating use case for this change is custom wars that want to implement some kind of custom "bundling-like" functionality, in the sense of modifying the available plugins before they are loaded.
          Because of the point in the initialization sequence the hook must be introduced, an extension point to be implemented by a plugin is not a feasible solution.

          Daniel Beck added a comment -

          Still doesn't explain why actual bundling (which still seems to exist) doesn't suffice.

          Daniel Beck added a comment - Still doesn't explain why actual bundling (which still seems to exist) doesn't suffice.

          Code changed in jenkins
          User: Andres Rodriguez
          Path:
          core/src/main/java/hudson/LocalPluginManager.java
          core/src/main/java/hudson/PluginManager.java
          core/src/main/java/jenkins/model/Jenkins.java
          test/src/test/java/hudson/CustomPluginManagerTest.java
          http://jenkins-ci.org/commit/jenkins/454642dafee66d557f48dec9ae2708f2f220f535
          Log:
          JENKINS-34681 Allow custom plugin managers when using war (#2323)

          • JENKINS-34681 Convert remaining properties to SystemProperties.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andres Rodriguez Path: core/src/main/java/hudson/LocalPluginManager.java core/src/main/java/hudson/PluginManager.java core/src/main/java/jenkins/model/Jenkins.java test/src/test/java/hudson/CustomPluginManagerTest.java http://jenkins-ci.org/commit/jenkins/454642dafee66d557f48dec9ae2708f2f220f535 Log: JENKINS-34681 Allow custom plugin managers when using war (#2323) JENKINS-34681 Allow custom default plugin managers JENKINS-34681 Convert remaining properties to SystemProperties.

          Oleg Nenashev added a comment -

          Released as Jenkins-2.4

          Oleg Nenashev added a comment - Released as Jenkins-2.4
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170856 ] New: JNJira + In-Review [ 198959 ]

            andresrc Andres Rodriguez
            andresrc Andres Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: