docker-workflow-plugin icon indicating copy to clipboard operation
docker-workflow-plugin copied to clipboard

Add tty to exec

Open lordbyron opened this issue 6 years ago • 0 comments

The docker run command always has tty support, but this plugin invokes most commands using exec, which currently does not allow tty (see https://github.com/jenkinsci/docker-workflow-plugin/blob/50ad50bad2ee14eb73d1ae3ef1058b8ad76c9e5d/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java#L109)

An alternative would be to allow script writers to specify additional flags to the exec commands, the same way we can pass flags to inside.

lordbyron avatar Jun 04 '18 16:06 lordbyron