Hi,

I just updated my Jenkins instance to all of the latest plugins, and now 
many of my jobs are failing.  They are all failing because of serialization 
problems:

java.io.NotSerializableException: hudson.model.FreeStyleProject
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860)


Now, this pipleline groovy script was running fine, but now the rules for 
when things are serialized has changed again, and its failing.

Can someone point me to something about when / where / how serialization of 
jobs should be happening, and what the rules are?  I'd like to build 
pipeline scripts that work over time and through upgrades, but the rules 
for when the job is serialized don't seem to be firm.

Making sure that I am never using any object in my script that absolutely 
can't be serialized is becoming a pain.  I can't seem to use any iterators, 
or hold any object in a var that can't be serialized, even within a single 
function.

Cheers,
Greg


-- 
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/530d8c7c-2dbe-4a34-8e28-48641b328c37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to