-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins Version 2.106
With jenkins version 2.106 and cifs publisher version 0.6, I can no longer configure parametrized publish. I always get an error
org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class jenkins.plugins.publish_over.ParamPublish at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:265) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:764) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678) Caused: java.lang.IllegalArgumentException: Failed to instantiate class jenkins.plugins.publish_over.ParamPublish from {"parameterName":"IS_M2RELEASEBUILD"} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:680) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478) at org.kohsuke.stapler.RequestImpl.injectSetters(RequestImpl.java:833) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:783) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678) Caused: java.lang.IllegalArgumentException: Failed to instantiate class jenkins.plugins.publish_over_cifs.CifsPublisherPlugin [...]
as soon as I enable the checkbox.
It also happens when I downgrade to cifs publisher 0.3.
I can not exactly tell from which jenkins version this occurs - I had the build jobs configured with parametrized publish for some months without any change, but since upgrading from 2.96 to 2.102 three weeks ago, the publish step was silently removed from all my jobs (I just noticed today).