Shell to pwd on any unix-like host will give the correct result.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Shane Kim
Sent: February-04-15 17:29
To: [email protected]
Subject: [workflow plugin] list files in workspace

maybe it's simple thing but I just couldn't find or get it working. How would I 
get the current workspace directory path?
I've tried these:

env.WORKSPACE // gives me null
new File('.') // gives me Jenkins installation path rather than workspace
ws { new File('.') } // gives me Jenkins installation path again.


Any hints?

Thanks,
s.
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/157d75a7-365d-454b-8d57-2b4d4e271271%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/157d75a7-365d-454b-8d57-2b4d4e271271%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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/233c087f3e024776a13dddb0a980d907%40mbx01colo01p.esentire.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to