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

Allow customization of default PluginManager

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • None
    • Current Jenkins weekly - WAR

    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

            danielbeck Daniel Beck added a comment -

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

            danielbeck 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_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.
            oleg_nenashev Oleg Nenashev added a comment -

            Released as Jenkins-2.4

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: