90393/how-to-give-sudo-power-to-the-jenkins-user
Hi Guys,
I am trying to run one script from Jenkins. But Jenkins user doesn't have admin power to run the script. How can I give Sudo power to the Jenkins user?
Hi@akhtar,
You need to give Sudo power to Jenkins user in /etc/sudoers file. This file is used to give power to a user.
jenkins ALL = NOPASSWD: /path/to/script
I have 7 freestyle jobs (A,B,C,D,E,F,G) in ...READ MORE
Hey, Create a freestyle project on Jenkins Use the ...READ MORE
You can use the EnvInject plugin to pass environment ...READ MORE
Here is a snippet from our Jenkins ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hi@akhtar, To give permissions to jenkins user, you ...READ MORE
Hi@akhtar, Yes, you can change Jenkins port no. ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.