pipenv shell in Jenkins return the issue termios.error: (25, 'Inappropriate ioctl for device') pipenv shell in Jenkins return the issue termios.error: (25, 'Inappropriate ioctl for device') jenkins jenkins

pipenv shell in Jenkins return the issue termios.error: (25, 'Inappropriate ioctl for device')


Jenkins is a non-interactive environment. All user input is nullified, and it's just an output console.

So you cannot run an interactive shell from it without redirection of the standard input.

You probably want something non-interactive but still in your virtual environment like:

pipenv run python my_script.py my_argument_1