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

Jenkins exec docker command never ends

    XMLWordPrintable

Details

    Description

      Hi,

      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.
      Regards

      Attachments

        Activity

          There are no comments yet on this issue.

          People

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

            Dates

              Created:
              Updated: