[JIRA] (JENKINS-59801) the input device is not a TTY

3 views
Skip to first unread message

gmabaso.gm@gmail.com (JIRA)

unread,
Oct 16, 2019, 7:40:03 AM10/16/19
to jenkinsc...@googlegroups.com
Gugulethu Mabaso created an issue
 
Jenkins / Bug JENKINS-59801
the input device is not a TTY
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2019-10-16 11:39
Environment: shell
Priority: Critical Critical
Reporter: Gugulethu Mabaso

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

gmabaso.gm@gmail.com (JIRA)

unread,
Oct 16, 2019, 7:57:03 AM10/16/19
to jenkinsc...@googlegroups.com
Gugulethu Mabaso updated an issue
Change By: Gugulethu Mabaso
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
Reply all
Reply to author
Forward
0 new messages