Transitive plugin dependencies not correctly checked when using snapshots

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When you use SNAPSHOTs the transitive dependency versions of the plugins are not being checked correctly, indicating the the -SNAPSHOT version is older than the actual version, which in this case is the same resolved to timestamped snapshot version

      Dec 13, 2016 5:22:09 PM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading plugin Operations Center Client Plugin v2.19.2.1-SNAPSHOT (private-e20a1be3-alobato) (operations-center-client)
      java.io.IOException: Operations Center Client Plugin v2.19.2.1-SNAPSHOT (private-e20a1be3-alobato) failed to load.
       - Operations Center Context v2.19.2.4-SNAPSHOT (private-6f16fea4-alobato) is older than required. To fix, install v2.19.2.4-20161201.084526-6 or later.
              at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:621)
              at hudson.PluginManager$2$1$1.run(PluginManager.java:516)
              at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
              at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
              at jenkins.model.Jenkins$7.runTask(Jenkins.java:1038)
              at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
              at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

      It looks like PluginWarper needs to resolve the real SNAPSHOT version to properly compare.

            Assignee:
            Unassigned
            Reporter:
            Alvaro Lobato
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: