On Wed, Apr 27, 2016 at 6:00 PM, Norbert Lange <[email protected]> wrote:
> node {
>     ....
>     for (it2 in mapToList(depmap)) {
>         name = it2[0]
>         revision = it2[1]
>     }
> }
> @NonCPS
> def mapToList(depmap) {
>     def dlist = []
>     for (entry in depmap) {
>         dlist.add([entry.key, entry.value])
>     }
>     dlist
> }

This is the proper workaround until I can provide a serialization-safe
version of the JRE’s `Map` iterator.

-- 
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/CANfRfr0tav3X8BH5pxi7nDLucvxobP-mN0Wbi3tYqkbjhV3SPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to