Thanks for your reply.  Just realised that I omitted to tie the job to a node.

Sorry. Works ok now.

I have another problem and will start a new thread.

David

From: [email protected] 
[mailto:[email protected]] On Behalf Of H3llGhost
Sent: 19 March 2013 16:27
To: [email protected]
Subject: Re: Simple Jenkins job fails - wrong working directory

Hello David,

did you set up a custom workspace path in the project?

Best Regards

Am 19.03.2013 17:16, schrieb David Aldrich:
Hi

I have created a very simple job for a new Windows slave.  The 'Remote FS root' 
of the slave is set to:

C:\Jenkins

The job checks out a svn repo and executes a very simple Windows batch command:

dir

When it runs, the checkout succeeds but the dir command fails:


FATAL: command execution failed
java.io.IOException: Cannot run program "cmd" (in directory "/data/<Hudson user 
name>/workspace/<job name>"):

Why is Jenkins doing its work in /data/... and not in c:\Jenkins?

Best regards

David

--
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.





Click 
here<https://www.mailcontrol.com/sr/Njw4eEAW8H7GX2PQPOmvUpnwDS3JbRsABRIF4x0fqHAM8xQMXjo4VYeUUzO+ssbquD!7ylMaQujaNxM9hG2QrA==>
 to report this email as spam.
--
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.


-- 
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.


Reply via email to