-
Improvement
-
Resolution: Not A Defect
-
Major
-
None
When using a declarative pipeline with the option "newContainerPerStage()" (see below), the contents of the workspace get copied to further stages even though the documentation states that this can be used to "ensure that each of your stages run in a fresh container of the same image". __
A more sensible approach would be to not copy things between containers. For now, we are currently using "deleteDir()" at the end of every stage as a workaround, which makes it impossible to debug if something goes wrong.