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

Convert com.nirima.jenkins.plugins.docker.DockerImagePullStrategy$2 to non anymous class

    • Evergreen - Milestone 1

      Jenkins is sending warnings like these:

      Attempt to (de-)serialize anonymous class com.nirima.jenkins.plugins.docker.DockerImagePullStrategy$2 in file:/evergreen/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/

          [JENKINS-53281] Convert com.nirima.jenkins.plugins.docker.DockerImagePullStrategy$2 to non anymous class

          Jesse Glick added a comment -

          Actually not a plugin bug; the same root cause as JENKINS-52945.

          Jesse Glick added a comment - Actually not a plugin bug; the same root cause as JENKINS-52945 .

          Right, hadn't checked that DockerImagePullStrategy is actually an enum. So I just checked the other similar one JENKINS-53307 I had filed for the Git plugin, and there it seems like a fix would be needed.

          Baptiste Mathus added a comment - Right, hadn't checked that DockerImagePullStrategy is actually an enum. So I just checked the other similar one JENKINS-53307 I had filed for the Git plugin, and there it seems like a fix would be needed.

            jglick Jesse Glick
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: