在 jenkins Script Console 页面设置如下属性取消了 Workspace clean up
hudson.model.WorkspaceCleanupThread.disabled = true
PS:每次重启jenkins都要设置一下