Re: User account considered for execution

2013-08-07 Thread Daniel Beck
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 potturu.ru...@gmail.com 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\workspaceecho Test 
 Call from Jenkins 
 Test Call from Jenkins
 
 C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceecho user 
 executing -  
 user executing - 
 
 C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspacemkdir 
 c:\JenkinsCreatedFolder 
 
 C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspacermdir 
 c:\JenkinsCreatedFolder1 
 
 C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceexit 0 
 Finished: SUCCESS
 
 
 -
 
 Thanks,
 Rudra
 
 
 
 On 7 August 2013 10:16, Richard Bywater rich...@byh2o.com 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 
 potturu.ru...@gmail.com 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 jenkinsci-users+unsubscr...@googlegroups.com.
 
 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 
 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User account considered for execution

2013-08-07 Thread Raghava Rudrakanth P V
Thanks Daniel,
Got the point now.

Thanks,
Rudra

On 7 August 2013 12:47, Daniel Beck m...@beckweb.net 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 potturu.ru...@gmail.com
 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\workspaceecho
 Test Call from Jenkins
  Test Call from Jenkins
 
  C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceecho
 user executing -
  user executing -
 
  C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspacemkdir
 c:\JenkinsCreatedFolder
 
  C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspacermdir
 c:\JenkinsCreatedFolder1
 
  C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceexit 0
  Finished: SUCCESS
 
 
  -
 
  Thanks,
  Rudra
 
 
 
  On 7 August 2013 10:16, Richard Bywater rich...@byh2o.com 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 
 potturu.ru...@gmail.com 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 jenkinsci-users+unsubscr...@googlegroups.com.
 
  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
 jenkinsci-users+unsubscr...@googlegroups.com.
  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 jenkinsci-users+unsubscr...@googlegroups.com.
  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
 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User account considered for execution

2013-08-07 Thread Raghava Rudrakanth P V
Hi Daniel,
Really appreciate the quick response.
Just to get some more clarification regarding this, This is for Linux
environment. (Didn't have enough resources to test)
- The Jenkins server is started on Linux by User XYZ.
- But repository is located on shared drive (\\sharedhost\sharedRepository)
and not on linux file system.
My understanding is, User XYZ should have permission to shared drive
(\\sharedhost\sharedRepository) to checkout code and create builds.

Correct me if I am wrong.

Thanks,
Rudra

On 7 August 2013 12:59, Raghava Rudrakanth P V potturu.ru...@gmail.comwrote:

 Thanks Daniel,
 Got the point now.

 Thanks,
 Rudra


 On 7 August 2013 12:47, Daniel Beck m...@beckweb.net 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 potturu.ru...@gmail.com
 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\workspaceecho
 Test Call from Jenkins
  Test Call from Jenkins
 
  C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceecho
 user executing -
  user executing -
 
  C:\Program Files
 (x86)\Jenkins_1\jobs\TestCallByTestUser\workspacemkdir
 c:\JenkinsCreatedFolder
 
  C:\Program Files
 (x86)\Jenkins_1\jobs\TestCallByTestUser\workspacermdir
 c:\JenkinsCreatedFolder1
 
  C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceexit
 0
  Finished: SUCCESS
 
 
  -
 
  Thanks,
  Rudra
 
 
 
  On 7 August 2013 10:16, Richard Bywater rich...@byh2o.com 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 
 potturu.ru...@gmail.com 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 jenkinsci-users+unsubscr...@googlegroups.com.
 
  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
 jenkinsci-users+unsubscr...@googlegroups.com.
  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 jenkinsci-users+unsubscr...@googlegroups.com.
  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
 jenkinsci-users+unsubscr...@googlegroups.com.
 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.

User account considered for execution

2013-08-06 Thread Raghava Rudrakanth P V
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User account considered for execution

2013-08-06 Thread bala nageswar Chadalavada
login user

no need to match with enterprise user


On Wed, Aug 7, 2013 at 10:02 AM, Raghava Rudrakanth P V 
potturu.ru...@gmail.com 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 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Bala.ch

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User account considered for execution

2013-08-06 Thread Richard Bywater
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 
potturu.ru...@gmail.com 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: User account considered for execution

2013-08-06 Thread Raghava Rudrakanth P V
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 http://localhost:8080/user/testUser
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\workspaceecho Test Call from
Jenkins
Test Call from Jenkins

C:\Program Files
(x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceecho user executing
-
user executing -

C:\Program Files
(x86)\Jenkins_1\jobs\TestCallByTestUser\workspacemkdir
c:\JenkinsCreatedFolder

C:\Program Files
(x86)\Jenkins_1\jobs\TestCallByTestUser\workspacermdir
c:\JenkinsCreatedFolder1

C:\Program Files (x86)\Jenkins_1\jobs\TestCallByTestUser\workspaceexit 0
Finished: SUCCESS


-

Thanks,
Rudra



On 7 August 2013 10:16, Richard Bywater rich...@byh2o.com 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 
 potturu.ru...@gmail.com 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 jenkinsci-users+unsubscr...@googlegroups.com.

 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
 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.