On Wednesday, February 4, 2015 at 5:28:49 PM UTC-5, Shane Kim wrote:
>
> maybe it's simple thing but I just couldn't find or get it working. How
> would I get the current workspace directory path?
>
pwd() returns a String (not an ArrayList as you claim!) of the current
workspace path.
env.WORKS
It was pwd, but I had to call 'toString' after pwd() 'cause it returns
ArrayList.
Thanks!
On Thursday, February 5, 2015 at 12:25:01 AM UTC-8, James Nord wrote:
>
> It is either dir or pwd step, I don't recall which of the top of my head
> but one of those will return it for you.
>
> On 4 Februa
Shell to pwd on any unix-like host will give the correct result.
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Shane Kim
Sent: February-04-15 17:29
To: jenkinsci-users@googlegroups.com
Subject: [workflow plugin] list files in workspace
maybe it's s
It is either dir or pwd step, I don't recall which of the top of my head but
one of those will return it for you.
On 4 February 2015 22:28:49 GMT+00:00, Shane Kim wrote:
>maybe it's simple thing but I just couldn't find or get it working. How
>
>would I get the current workspace directory path?