-
Bug
-
Resolution: Unresolved
-
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.