Groovy script to cleanup Jenkins workspaces