I have very large repository in Git and I have created a job in Jenkins that checks out just one sub-folder from the project following this steps Jenkins and Git sparse checkouts. The problem is that when i or some of my colleagues Wipe Out Current Workspace from Jenkins, info/sparse-checkout gets deleted too.
How can i fix this issue without having to create info/sparse-checkout every time for the same job?