Plugin incompatible with dependency kubernetes-client-api

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • None
    • Environment:
      Kubernetes: 1.22.4 (Docker Desktop: 4.3.2 - WSL2)
      Jenkins: 2.319.1 (Deployed in Kubernetes using open-source helm chart)
      Kubernetes-Plugin: 1.31.1
      Behind corporate proxy
    • kubernetes 1.31.2

      Latest version of kubernetes-client-api:Ā 5.11.1-179.v12037658df90 dependency breaks Kubernetes plugin.

      When running Jenkinsfile pipeline and using container('name') syntax, fails to exec into separate container. Errors with:

      Timed out waiting for websocket connection. You should increase the value of system property org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator.websocketConnectionTimeout currently set atĀ 30Ā seconds

      Jenkins server logs say something different (actual error):

      java.lang.NoSuchMethodError: 'okhttp3.OkHttpClient io.fabric8.kubernetes.client.HttpClientAware.getHttpClient()'

      Using yamlFile and Multibranch pipeline.

            Assignee:
            Vincent Latombe
            Reporter:
            Ryan Bambrough
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: