By default a Windows service runs as the Local User account, which has no access to network resources. Try configuring the service to run as a particular user who has permission for the SVN repo in question.

Regards,
Eric

On 6/11/2014 8:42 AM, Juan Pablo Hernandez Vogt wrote:
Hello,

I tried to find an answer in the list but I did not find what is wrong. Probably is a stupid thing...

The job only execute a command *svn update* in my Windows 8.1 machine:

a) If I start the client from JNLP file, the job is executed.

b) If I install it as service, it holds waiting... waiting for password maybe?
D:\AAA\nt>svn update
Updating '.':

then after 5 minutes I decide to abort the job:
Build was aborted
Aborted byanonymous  <http://jenkins.oe.com/user/anonymous>
Finished: ABORTED
Stopping the service, executing a mandatory svn cleanup from an independent cmd, and launching again from JNLP, works like a charm.


Why the svn update command does not work from service? Where to read to understand how Jenkins works on this mode?


Notes:
1) My user is defined in a domain server, not in my local machine. For that I configured the service to use my specific user@domain and password. 2) I'm using Pagent.exe, all svn commands (checkout, update, commit, status..) from my cmd.exe work well.
3) The command svn status works perfect from JNLP and from Service.
4) Seems that the connection with Pagent.exe is broken. Printing some environment variables inside the job I find the expected values:
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\jpvogt\AppData\Roaming
BASE=D:\Jenkins
SERVICE_ID=jenkinsslave-D__Jenkins
SVN_SSH=C:/putty/plink.exe



Thanks for your time reading this issue.

Best regards,
JP

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

--
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/d/optout.

Reply via email to