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

Credentials plugin (v2.3.15) fails to load when optional dependency is at lower version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • credentials-plugin
    • None
    • Jenkins 2.263.2. Plugins: kubernetes-plugin v1.28.2, configuration-as-code v1.46, git v4.5.0, workflow-aggregator v2.6

      Configuration as Code plugin is listed as optional dependency. However during Jenkins startup credentials plugin fails to load due to following error: 

       

      [id=27] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Credentials Plugin v2.3.15 (credentials)[id=27] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Credentials Plugin v2.3.15 (credentials)java.io.IOException: Failed to load: Credentials Plugin (2.3.15) - Update required: Configuration as Code Plugin (1.46) to be updated to 1.47 or higher at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:952) at hudson.PluginManager$2$1$1.run(PluginManager.java:549) 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:1131) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) 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)

      Expected behaviour is for optional dependency not to be the cause of plugin loading failure. 

       

            Unassigned Unassigned
            pashcan Pasha Sh.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: