Multibranch Pipeline job scan cannot remove files
问题 We are using Multibranch Pipeline job on Jenkins. It scans branches on master and if there are changes then build is triggered on one of the slaves. However, sometimes during the scan, we receive an exception: java.io.IOException: Unable to delete '/var/lib/jenkins/jobs/sample.job.build/branches/feature-P.of17kqq8ojl6.-PFT-repo'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. at hudson.Util.deleteRecursive(Util.java:352) at hudson.model.AbstractItem.performDelete