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

Dynamic installation of plugin permitted even when dependencies must be updated first


      Start with an older version of analysis-core installed, such as 1.49. Go to the update center's Available tab and select checkstyle, then Install (now). The /updateCenter status page correctly shows that a new version of analysis-core has been downloaded, and that you must restart Jenkins for this to take effect. Yet it seems that checkstyle has been dynamically loaded already; and if you actually try to use it, you get an error

      [CHECKSTYLE] Collecting checkstyle analysis files...
      FATAL: hudson.plugins.checkstyle.parser.Warning.setColumnPosition(I)V
      java.lang.NoSuchMethodError: hudson.plugins.checkstyle.parser.Warning.setColumnPosition(I)V
              at hudson.plugins.checkstyle.parser.CheckStyleParser.convert(CheckStyleParser.java:120)

            Unassigned Unassigned
            jglick Jesse Glick
            1 Vote for this issue
            3 Start watching this issue