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

Old scm-api included in Jenkins war file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • None
    • Jenkins LTS 2.190.1 stanalone war file

      We use the Jenkins WAR file as a test rule Job DSL to XML generator to locally verify our Job DSL prior to generating jobs on real instances. As part of this a Jenkins instance is started from the war archive obtained via the dependency "org.jenkins-ci.main:jenkins-war:2.190.1". This is, currently, the same as the war file fetched via http://mirrors.jenkins.io/war-stable/latest/jenkins.war.

      When starting up this war file the following warning is shown

       

      java.io.IOException: Jenkins Git plugin version 3.12.1 failed to load.
       - SCM API Plugin version 2.4.1 is older than required. To fix, install version 2.6.3 or later.
              at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:922)
              at hudson.PluginManager$2$1$1.run(PluginManager.java:545)
              at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
              at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
              at jenkins.model.Jenkins$5.runTask(Jenkins.java:1118)
              at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
              at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      

      After some investigation it appears that scm-api is bundled in the war file at

      WEB-INF/detached-plugins/scm-api.hpi

      This is the 2.4.1 version it is complaining about. Can this be updated to one that works with the latest stable Jenkins?

            Unassigned Unassigned
            ftclausen Friedrich Clausen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: