On Friday, February 20, 2015 at 4:01:35 PM UTC-5, Timothy Wojtaszek wrote:
>
>   new File(root).eachDir {  dirs << it.name  }
>

You cannot use java.io.File methods from a Workflow script if you are using 
slaves, since the script always runs on the master. If you need to inspect 
files beyond what readFile/writeFile provides, use a sh script or the like.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a8f6e750-e440-48e8-8b94-b917534486ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to