BTW I'm using workflow plugin 1.3 version straight from github.
On Thursday, February 5, 2015 at 11:20:53 PM UTC-8, Shane Kim wrote:
>
> Hi,
>
> I'm not sure if workflow plugin is limiting iteration or not, I found it
> really odd...
>
> I have this simple code...
>
> def cdir = new File('.')
>
> cdir.eachFileRecurse(FileType.FILES) { file ->
> // or eachFile method
> println file.getName()
> }
>
>
> When I execute the code on straight command line I get expected result,
> which is a list of files. However, the same code returns only first file
> name when executed inside a workflow job.
>
> Is this an expected behavior?
>
>
--
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/bb3d2fd4-0668-4e2c-87dd-84af54818f81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.