-
Notifications
You must be signed in to change notification settings - Fork 20
Jenkins
Marton Bur edited this page Mar 22, 2018
·
1 revision
sudo su
visudo -f /etc/sudoers
add add following line at the end.
jenkins ALL= NOPASSWD: ALL
source: https://stackoverflow.com/questions/17940612/authentication-error-in-jenkins-on-using-sudo#20241946
You can also specify what scripts can Jenkins run as sudo:
jenkins ALL = NOPASSWD: /home/user/deploy.sh