system("docker-compose -p #{ENV['COMPOSE_PROJECT_NAME']} exec #{ENV['BROWSER']} chmod 777 /home/seluser/Downloads")
Running this command from ruby test on Jenkins slave causes error
the input device is not a TTY
Locally (on Catalina OS) there's no error.
Analogical docker command works successfully on Jenkins:
system("docker exec \$(docker ps --filter name=#{ENV['BROWSER']}_1 --format {{.ID}}) sudo chmod 777 /home/seluser/Downloads")
What's wrong with docker-compose?