I will see if I can find some more information about the problem.

torsdag 11. oktober 2018 10.02.54 UTC+2 skrev Baptiste Mathus følgende:
>
> 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] <javascript:>> 
> 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] <javascript:>.
>> 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/9ab3faf2-7918-4e6e-94e8-0edbb1ebc57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to