Jenkins Version is 2.25, Pipeline plugin is the latest one (It was all working fine with Jenkins 2.21 and older pipeline plugins, Jobs have run fine on Oct12,2016)
Have a loop mechanism to iterate through all nodes as below for(int i = 0; i < nodes.size(); i++) { def node_name = nodes[i].trim() def node_id = i stage ' Triggering Tests on ' + node_name build job: 'Tests', parameters: [ am getting the below error before the sub job is triggered java.io.NotSerializableException: java.util.AbstractList$Itr at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860) at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) Caused by: an exception which occurred: in field itr in field target in field continue_ in field parent in field caller in field e in field program in field threads in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@23b3e142 -- 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/a260bf5b-fa47-4d27-b779-bfa41849610d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.