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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1c3a65bc-546b-494f-8f09-05b74777dffa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to