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

          Baptiste Mathus created issue -
          Baptiste Mathus made changes -
          Labels Original: evergreen-triggered New: evergreen-triggered sentry
          Baptiste Mathus made changes -
          Description New: Jenkins is sending warnings like these:

          {noformat}
          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/
          {noformat}

          We should probably fix the Docker plugin as recommended in https://jenkins.io/redirect/serialization-of-anonymous-classes/
          Baptiste Mathus made changes -
          Link New: This issue relates to JENKINS-53251 [ JENKINS-53251 ]
          Jesse Glick made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          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 .
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-52945 [ JENKINS-52945 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          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: