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)
      

          [JENKINS-19859] Dynamic installation of plugin permitted even when dependencies must be updated first

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-23150 [ JENKINS-23150 ]
          Jesse Glick made changes -
          Labels Original: plugins New: plugin-manager plugins
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-30414 [ JENKINS-30414 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151380 ] New: JNJira + In-Review [ 177939 ]

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

              Created:
              Updated: