This does not address JENKINS-26138, but it is a closer step to solving it.
Can I use a parameterized build, along with your change to the workflow plugin to do the following:
(1) I have a workflow.
(2) With the workflow, I have a build parameter, "do_clean" which by default is set to 0.
(3) If "do_clean" is set to 1, then logic in the workflow will be triggered which cleans out the files,
otherwise if "do_clean" is set to 0, then no cleaning occurs.
If this is possible, could you post a code snippet of a workflow which does this?
Thanks.
Will this fix address this problem:
JENKINS-28382?The fact that I cannot easily delete a workspace has been the biggest blocker for me using the workspace plugin.