Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54111

disableDeferredWipeout error with workspace cleanup plugin 0.35

XMLWordPrintable

      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.

            pajasoft Pavel Janoušek
            mkozell Mike Kozell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: