Thanks Daniel, Got the point now. Thanks, Rudra
On 7 August 2013 12:47, Daniel Beck <[email protected]> wrote: > You configured authentication to the Jenkins UI. It has nothing to do with > the user account jobs are run as, which is the same account who is running > Jenkins' java process. > > If you installed it as a service on Windows and didn't change it in > Computer Management, Jenkins is running as SYSTEM. > > As to access permissions for the files created by Jenkins -- it's basic > Windows NTFS permissions. > > On 07.08.2013, at 06:58, Raghava Rudrakanth P V <[email protected]> > wrote: > > > Hi Richard, > > Thanks for reply, I am bit confused again. > > - Consider I Logged-In to Jenkins with User account "Test1" (this > account is not existed on network). > > - When job is called, batch script will create folders & remove. But > "Test1" doesn't have permissions (this user itself not existed on the > system). > > Will this be successful execution if yes considering which user Jenkins > created the folders? > > > > I tried this on windows, but who ever user logged in the create and > deletion of folders is successful. > > --------------------------------- > > Started by user test user > > > > Building in workspace C:\Program Files > (x86)\Jenkins_1\jobs\TestCallByTestUser\workspace > > [workspace] $ cmd /c call C:\Windows\TEMP\hudson7256762012989360322.bat > > > > C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspace>echo > "Test Call from Jenkins" > > "Test Call from Jenkins" > > > > C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspace>echo > user executing - > > user executing - > > > > C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspace>mkdir > c:\JenkinsCreatedFolder > > > > C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspace>rmdir > c:\JenkinsCreatedFolder1 > > > > C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspace>exit 0 > > Finished: SUCCESS > > > > > > --------------------------------- > > > > Thanks, > > Rudra > > > > > > > > On 7 August 2013 10:16, Richard Bywater <[email protected]> wrote: > > If you are referring to which user will the shell execution happen > under, it will be the user which Jenkins is running as. > > > > Richard. > > > > > > On Wed, Aug 7, 2013 at 4:32 PM, Raghava Rudrakanth P V < > [email protected]> wrote: > > Hi Team, > > I am new user of Jenkins and have a question. > > > > 1. I created job which executes the shell script. > > 2. Configured users using Jenkins own database and was able to login to > Jenkins and execute the job. > > > > Now when the shell execution is happening which User is considered for > execution? > > - Is this going to be login user? if yes do this user > credentials should match the credentials of the enterprise user.? > > - Is this going to be the user who installed Jenkins? or by > default will it be administrator. > > > > Thanks in advance for help. > > > > Thanks, > > Rudra > > > > > > -- > > 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. > > > > > > > > > > -- > > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/tqc-8EytDmc/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > > > -- > > 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. > > > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/tqc-8EytDmc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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.
