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

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java
          src/main/java/org/jenkinsci/test/acceptance/po/UpdateCenter.java
          http://jenkins-ci.org/commit/acceptance-test-harness/dae6a9a7271ae91498357d2f615b842d81c1ed84
          Log:
          Yet another @WithPlugins fix, working around JENKINS-19859 this time.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java src/main/java/org/jenkinsci/test/acceptance/po/UpdateCenter.java http://jenkins-ci.org/commit/acceptance-test-harness/dae6a9a7271ae91498357d2f615b842d81c1ed84 Log: Yet another @WithPlugins fix, working around JENKINS-19859 this time.

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

              Created:
              Updated: