jenkinsci/docker-plugin — pull request #37 by DustinChaloupka (2014-06-18 20:17:17+00:00)
Title: Adding a sleep time for the container to start its processes

For https://github.com/jenkinsci/docker-plugin/issues/36

The first thing I tried to do was redo the connect step (https://github.com/jenkinsci/docker-plugin/blob/master/src/main/java/com/nirima/jenkins/plugins/docker/DockerCloud.java#L167) if it failed to connect, however this was creating more problems (and should probably be at the SlaveComputer level?) and even then wasn't connecting. If someone else has an idea of where to retry connecting to the slave then I'll be more than happy to look into that considering just sleeping for an arbitrary time will still give problems to processes that require a longer start up time.