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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins 2.277.3 - docker build step plugin 2.7

      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.

            vjuranek vjuranek
            mlechner Marco Lechner
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: