> On 18.10.2016, at 00:58, Jonathan Hodgson <j.r.hodg...@gmail.com> wrote:
> The documentation says that File operates on "the current machine", which I 
> took to mean the one actually running the code at that moment, which is the 
> slave.

The script _is_ evaluated on the master.

FilePath would do it, or just not using Pipeline as a general purpose scripting 
language (it's not meant to be). Write a batch/shell script instead if you need 
to prepare the workspace.

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.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to