Adding an action to a build using a Ruby plugin causes the build to fail to load when Jenkins is restarted.
The error looks like this:
The bug was originally mentioned in IRC on April 11th by dragonkh_: http://echelog.com/logs/browse/jenkins/1334095200
Relevant parts of the IRC conversattion:
<cowboyd> dragonkh_: do you get an exception on startup?
<dragonkh_> cowboyd - it happens when I start up jenkins
<dragonkh_> cowboyd - http://pastie.org/3768530
<dragonkh_> cowboyd - thats the exception I get on starting up jenkins - the job fails to load
<dragonkh_> is it in the ruby-runtime somewhere?
<cowboyd> can you send me the xml for the job?
<cowboyd> It's the persistence that is getting confused.
<dragonkh_> cowboyd - isnt this the config? http://pastie.org/3768541
<dragonkh_> cowboyd - check my code here: https://github.com/masterthought/jenkins-cucumber-jvm-reports-plugin
<cowboyd> dragonkh: can I see the xml for the build?
<dragonkh_> cowboyd - http://pastie.org/3768765
<cowboyd> yes, that's it. kohsuke: ^^ any idea why jruby-xstream would be handing the ruby object and not the jruby proxy?
<dragonkh> cowboyd - got any idea where I can have a look ?
<cowboyd> yes, it's in the deserialization code. https://github.com/jenkinsci/jruby-xstream
<dragonkh> is that part of the main jenkins release?
<cowboyd> all ruby plugins depend on it
<dragonkh> or is it part of the ruby-runtime ?
<cowboyd> jenkins.rb/java-runtime depends on it