Bob Bick
unread,Jul 10, 2013, 9:20:32 AM7/10/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
When trying to save a build with a single step condition, get the following error:
Exception: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["2","0","1"],"buildStep":{"classPath":"","groovyName":"(Default)","javaOpts":"","parameters":"","properties":"","scriptParameters":"","scriptSource":{"command":"println \"Hi\"","value":"0"},"stapler-class":"hudson.plugins.groovy.Groovy"},"condition":{"stapler-class":"org.jenkins_ci.plugins.run_condition.core.BooleanCondition","token":"${ENV,var=\"XXXX\"}"},"kind":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder","runner":{"stapler-class":"org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"},"stapler-class":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder"}
Stacktrace:
javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["2","0","1"],"buildStep":{"classPath":"","groovyName":"(Default)","javaOpts":"","parameters":"","properties":"","scriptParameters":"","scriptSource":{"command":"println \"Hi\"","value":"0"},"stapler-class":"hudson.plugins.groovy.Groovy"},"condition":{"stapler-class":"org.jenkins_ci.plugins.run_condition.core.BooleanCondition","token":"${ENV,var=\"XXXX\"}"},"kind":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder","runner":{"stapler-class":"org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"},"stapler-class":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder"}
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:616)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
Has anyone else seen this error before? Any workarounds?
Thanks,
Bob
*** *** ***
This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message.