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.