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

Convert DockerComputerConnector$1 to non anymous class

XMLWordPrintable

    • Evergreen - Milestone 2

      Jenkins is sending warnings like these:

      Attempt to (de-)serialize anonymous class io.jenkins.docker.connector.DockerComputerConnector$1 in file:/evergreen/data/jenkins/var/plugins/docker-plugin/WEB-INF/lib/docker-plugin.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      

      We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/

      Issue number in Sentry: EVERGREEN-35

      https://github.com/jenkinsci/docker-plugin/blob/7d45cf050ed9cad27f1bf51818ca30ac3108fbed/src/main/java/io/jenkins/docker/connector/DockerComputerConnector.java#L104-L119 has to be pulled out as a full blown class, AFAIU. (thanks to Jesse for finding it)

            batmat Baptiste Mathus
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: