Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34681

Allow customization of default PluginManager

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Current Jenkins weekly - WAR
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

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

            Show
            danielbeck Daniel Beck added a comment - Still doesn't explain why actual bundling (which still seems to exist) doesn't suffice.
            Hide
            scm_issue_link 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 Convert remaining properties to SystemProperties.
            Show
            scm_issue_link 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.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Released as Jenkins-2.4

            Show
            oleg_nenashev Oleg Nenashev added a comment - Released as Jenkins-2.4

              People

              • Assignee:
                andresrc Andres Rodriguez
                Reporter:
                andresrc Andres Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: