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

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

    XMLWordPrintable

Details

    • Evergreen - Milestone 1

    Description

      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/

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

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

            jglick 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.

            batmat 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.

            People

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

              Dates

                Created:
                Updated:
                Resolved: