-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.138.2
ws-cleanup 0.35
After installing ws-cleanup plugin v0.35, I'm seeing the stack trace below in the jenkins.log file. In addition, when I go to the Pipeline Syntax page and select "CleanWs", I see the following for the code snippet.
step <object of type hudson.plugins.ws_cleanup.WsCleanup>
Using v0.34 of the plugin, I see "cleanWs()"
WARNING: failed to uncoerce hudson.plugins.ws_cleanup.WsCleanup@3ec5cba9 java.lang.UnsupportedOperationException: no public field ‘disableDeferredWipeout’ (or getter method) found in class hudson.plugins.ws_cleanup.WsCleanup at org.jenkinsci.plugins.structs.describable.DescribableParameter.getValue(DescribableParameter.java:161) at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:142) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:584) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2_(DescribableModel.java:675) at org.jenkinsci.plugins.structs.describable.DescribableParameter.uncoerce(DescribableParameter.java:196) at org.jenkinsci.plugins.structs.describable.DescribableParameter.inspect(DescribableParameter.java:142) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2(DescribableModel.java:584) at org.jenkinsci.plugins.structs.describable.DescribableModel.uninstantiate2_(DescribableModel.java:675) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.uninstantiate(StepDescriptor.java:246) at org.jenkinsci.plugins.workflow.cps.Snippetizer.object2Groovy(Snippetizer.java:139) at org.jenkinsci.plugins.workflow.cps.Snippetizer.step2Groovy(Snippetizer.java:81) at org.jenkinsci.plugins.workflow.cps.Snippetizer.doGenerateSnippet(Snippetizer.java:513) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864) at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668) at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
Both of these issues didn't occur for me in 0.34 version of the plugin.
I have also experienced this issue since updating the Workspace Cleanup Plugin from 0.34 to 0.35 over the weekend.
This plugin will be reverted to 0.34 when least disruptive to prevent many gigs of disk usage per day from this logging.
Below is a sample of the error we experience. Is there anything I could do to help investigate this prior to reverting to the previous version?