Jenkins: Running Steps as sudo
I came across a situation recently where I needed my Jenkins user to be able to run commands as sudo. I have a job that is scheduled nightly to install and update dependencies prior to running my builds. Since apt-get needs to be run with sudo, I needed some way to workaround the password input …
