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

docker-build-step Plugin fails on docker command "Start container(s)" since 2.7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins 2.277.3 - docker build step plugin 2.7
    • Similar Issues:

      Description

      Since upgrading docker build step plugin to 2.7 the build step "Starting container(s)" fails with:

      [Docker] ERROR: failed to stop all containers
      ERROR: Build step failed with exception
      com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.github.dockerjava.api.command.InspectContainerResponse["Config"]>com.github.dockerjava.api.model.ContainerConfig["ExposedPorts"]>java.util.HashMap["5432/tcp"])

      Similar jobs fail as well. Downgrading to 2.6 makes all jobs running succesful again.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            vjuranek vjuranek
            Reporter:
            mlechner Marco Lechner
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: