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?
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
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
To give permissions to jenkins user, you ...READ MORE
Yes, you can change Jenkins port no. ...READ MORE
Already have an account? Sign in.