Jenkins will run a job under the same user ID that the node it runs on is using. If you're running on the master node, it should be the same UID as the Jenkins server. If you're running on a slave node, it should be the same UID of the slave node.
If this job is running on the master, maybe there is some sort of sudo thing in the start script. Check the UID of the server process itself, not just the user who launched it. --Rob From: [email protected] [mailto:[email protected]] On Behalf Of Gabi Karasin Sent: Monday, November 11, 2013 9:44 AM To: [email protected] Subject: Jenkins permission denied Hi everyone, I installed Jenkins on our build server(CentOS). I'm trying to execute our build script, but every write operation is denied. I echoed $USER, and for some reason got "jenkins" while the user I start Jenkins with is "builder". How can I make Jenkins NOT to execute the shell as the "jenkins" but as the local user, builder? Your help is highly appreciated, Gabi. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
