Workspace not cleaned up when using skipDefaultCheckout option

This issue is archived. You can view it, but you can't modify it. Learn more

      I'm using declarative pipeline and have recently noticed that a stage using `skipDefaultCheckout()` option is not cleaning up the workspace on a windows agent. I'm not sure if pipeline is meant to automatically do this but I was expected it to. It would be nice if the declarative pipeline syntax supported specifying if a stage should clean the workspace and if it should be at the beginning or end of the stage.

       

      For the time being I have worked around it by using `DeleteDir()`

       

       

            Assignee:
            Unassigned
            Reporter:
            Jonathan Kuleff
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: