I assume that you only end up defining one curClosure variable, since it never goes out of scope, and subsequent changes to it update the one version you've added to your buildClosures list.
Maybe you want buildClosures.add(curClosure.clone()) -- 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. For more options, visit https://groups.google.com/d/optout.