On Tue, Oct 22, 2013 at 10:35 AM, Michael Baron <[email protected]> wrote:
> String pathTo = "/some/path/to/a/file.txt";
> FilePath file = new FilePath(new File(pathTo));

FilePath.<init>(File) is only for converting a _local_ file to a
FilePath, so your code refers to a hypothetical file
C:\some\path\to\a\file.txt on the master. Use the other constructor,
or better yet use Node.createPath.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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