-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
shell
Good Day,
I created a jenkins pipeline it work but the issue comes when I have to execute shell commands: eg
When I try to execute a docker container after ssh I get the below error:
the input device is not a TTY
Agent pid 12446
+ ssh-add -k /var/lib/jenkins/.ssh/mykeys
Identity added: /var/lib/jenkins/.ssh/mykeys (/var/lib/jenkins/.ssh/mykeys)
+ ssh user@ip docker exec -it container_name bash
the input device is not a TTY
Build step 'Execute shell' marked build as failure
Finished: FAILURE