As far as I know, Jesse's advice was to use the more Java like iteration technique, rather than for / each.
Mark Waite On Sun, Apr 9, 2017 at 7:29 PM niristotle okram <[email protected]> wrote: > Is anyone aware of iterating/looping either using a *for / each* inside a > NonCPS method in a master slave environment? > > I am using the "readFile", DSL to read from the slave's workspace. And i > parsing it via the jsonsluper. I am unable to loop through the object. > > Have anyone done this successfully? > > > On Fri, Apr 7, 2017 at 12:36 PM, niristotle okram <[email protected]> > wrote: > > Can anyone say, if the issue of using '.each{ }' , with the closure in > jenkins https://issues.jenkins-ci.org/browse/JENKINS-26481 > > also affect a NonCPS method?? > > I find it works okay in a master only env. > > > > > > -- > Regards > nirish okram > > -- > 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/CAPzcO4idZco8oAQcWpRocE5XuRw%3DCrph7oaCqFnQw7-0W-jmAg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAPzcO4idZco8oAQcWpRocE5XuRw%3DCrph7oaCqFnQw7-0W-jmAg%40mail.gmail.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/CAO49JtEH%3Dsg2MD6Vxr0WSruZsm%3D9%3D3O%3D6%3DN97LhawpfuY3KPnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
