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

Plugin Manager needs to consider implied plugin dependencies


    • Similar Issues:


      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


      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.


          Issue Links


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


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


                • Created: