To determine if a FilePath of a remote path is a symlink or not, I figured I should be able to use the isDirectory() of the FilePath instance - however that seems to return true for symlinks to directories as well.
There is also an isSymlink() function, but that one is static and seems to operate on a File and suddenly requires arguments for root and openOptions. Is there a different function to use on a FilePath instance to check if its pointing to a symlink? Cheers. -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e1b3d7a6-7626-473e-bc4f-39cb6581d26en%40googlegroups.com.