Ok, well it seems the "unable to resolve class" issue was due to me not importing the class.
Got thrown by the fact that File is there, hadn't really clicked that FilePath was a hudson specific class rather than standard Groovy. Still looking for how to find the channel -- 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 https://groups.google.com/d/msgid/jenkinsci-users/652b82c2-3fdf-4814-bda0-0251fd99a4ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.