What is the JIRA number number for the Windows deleteDir() bug you say you're seeing?
Le jeu. 11 oct. 2018 à 09:33, Sverre Moe <[email protected]> a écrit : > This deleteDir() does not always work on a Windows build slave. > > Using Scripted PIpeline I am declaring a node within try-catch-finally. > The finally will run deleteDir(), in order to delete the build workspace. > This is done in order to get a fresh build each time. I cannot risk having > stale data lying around from a previous builds. > > Is there some other means I can make sure that the build has a clean > workspace? > > 1) Always build with clean > mvn clean deploy > gradle clean build publish > > 2) SCM configuration > *Clean after checkout* > *Clean before checkout* > > *3) Windows working deleteDir()* > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/966a8838-f95a-4c23-ac61-e4c7356fac8d%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/966a8838-f95a-4c23-ac61-e4c7356fac8d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS40Qbvn2Htd4US9nb8i6w_5O%2BFsvPvYZy%3D%2BfWZDdGZ2vg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
