Hi I want to start building with a clean workspace in my pipelines, and I can't find a way to do it globally. I did a bit of research, and saw the step 'deleteDir()' is the proposed way of doing it. My problem with that is I need to add a call to this step for every nodes (I have parralel work and several stages) and it leads to a deleteDir() clutter in my Jenkins files.
Is there a better way that I missed to always build from scratch ? (using pipelines and organization folders in my case) Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/178139d7-43a6-4a15-b207-a2c69c05744f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.