Error "The input device is not a TTY"
I am running the following command from my Jenkinsfile
. However, I get the error "The input device is not a TTY".
docker run -v $PWD:/foobar -it cloudfoundry/cflinuxfs2 /foobar/script.sh
Is there a way to run the script from the Jenkinsfile
without doing interactive mode?
I basically have a file called script.sh
that I would like to run inside the Docker container.