-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins 2.121.1
Blue Ocean 1.7.0
agent:
Windows Server 2016
Remoting 3.15
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()`