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

Jenkins 2.344 is not support "Docker API Plugin Version3.2.13"

XMLWordPrintable

      After upgrade to Jenkins 2.344 and  docker api plugin 3.2.13,  when building a job on docker, I got the following error:

       

      2022-04-22 06:52:22.161+0000 [id=16]    WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID 1c5204ae-6ec2-4256-9fa6-b334f70ae4b9
      java.lang.NoSuchMethodError: 'com.github.dockerjava.netty.NettyDockerCmdExecFactory com.github.dockerjava.netty.NettyDockerCmdExecFactory.withReadTimeout(java.lang.Integer)'
              at io.jenkins.docker.client.DockerAPI.makeClient(DockerAPI.java:250)
              at io.jenkins.docker.client.DockerAPI.getOrMakeClient(DockerAPI.java:200)
              at io.jenkins.docker.client.DockerAPI.getClient(DockerAPI.java:169)
              at io.jenkins.docker.client.DockerAPI.getClient(DockerAPI.java:152)
              at io.jenkins.docker.client.DockerAPI$DescriptorImpl.doTestConnection(DockerAPI.java:401)
              at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
              at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
              at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)
              at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)
              at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
              at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)
              at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)
              at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)
              at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
      Caused: javax.servlet.ServletException
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:816)

            ericcitaire Eric Citaire
            howardliao Howard Liao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: