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

Jenkins exec docker command never ends


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • Jenkins 2.7.4, Docker 1.12.1


      I've configured a free-style job which have to create and start container from an docker image and create and start an exec instance on this container.

      In the "Create and start exec instance in container(s)", I set the conainter id and the exec command which is a path to a shell script on the container.
      The command is launched correctly but she's never end. Jenkins seems to wait the end of the command but she's already terminated.

      I don't know if the problem is in the script, i mean it's not outside the script, or in the container, it's not outside/detach to the container or Jenkins don't know that the script or the command is terminated.

      Have you any idea ?
      Thanks in advance.

            vjuranek vjuranek
            cgaulay Charly Gaulay
            0 Vote for this issue
            1 Start watching this issue