Wednesday, 2 October 2013

How to run remote ssh session from Jenkins with sudo rights?

How to run remote ssh session from Jenkins with sudo rights?

Using 'Execute shell script on remote host using ssh' option and need sudo
rights on remote server to change permissions and remove protected files.
How to run session with this rights?
Getting message
sudo: sorry, you must have a tty to run sudo
when trying to run sudo command.

No comments:

Post a Comment