It's unclear to me how this has anything to do with restart. The problem appears to be that an unserializable object is a part of the program state, so I used the following workflow script to induce NotSerializableException:

node {
  def x = new Object(); // some unserializable object
  sh 'sleep 60'
}

This failed the workflow instantly as it tried to execute the sh step, and the stack trace was visible in the console output.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to