Shell to pwd on any unix-like host will give the correct result.
--
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-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/157d75a7-365d-454b-8d57-2b4d4e271271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
maybe it's simple thing but I just couldn't find or get it working. How would I get the current workspace directory path?
env.WORKSPACE // gives me null
new File('.') // gives me Jenkins installation path rather than workspacews { new File('.') } // gives me Jenkins installation path again.