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

Plugin Manager needs to consider implied plugin dependencies

      With 2.0, for the first time the default Jenkins distribution does not install bundled plugins. This includes all plugins detached from core, i.e. those that used to be a core feature, and are an implied dependency of plugins depending on an older version of core that still bundled them.

      Unfortunately, the Plugin Manager cannot handle this:

      Steps to reproduce

      1. Install Jenkins 2.0 without installing any plugins
      2. Go to the plugin manager and install Flexible Publish plugin

      Expected result

      Flexible Publish plugin and Matrix Project plugin, possibly others, get installed.

      Actual result

      Token Macro Plugin, Run Condition Plugin, Flexible Publish Plugin get installed. No Matrix Project Plugin

      Failed to load org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher$FlexiblePublisherDescriptor
      java.lang.NoClassDefFoundError: hudson/matrix/MatrixAggregatable

      Notes

      Similarly, installed but disabled dependencies need to be re-enabled when a plugin requiring them gets installed. This is however not a regression in 2.0.

          [JENKINS-33308] Plugin Manager needs to consider implied plugin dependencies

          Daniel Beck created issue -
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-33296 [ JENKINS-33296 ]
          Kohsuke Kawaguchi made changes -
          Labels Original: 2.0 regression New: 2.0 2.0-planned regression
          Keith Zantow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Keith Zantow made changes -
          Remote Link New: This issue links to "PR 2122 (Web Link)" [ 14070 ]
          Keith Zantow made changes -
          Assignee New: Keith Zantow [ kzantow ]
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 169208 ] New: JNJira + In-Review [ 198563 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-642 (Web Link)" [ 18852 ]

            kzantow Keith Zantow
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: