How to centralize the the jenkins workspaces cleanup?

Hi,

We are looking to cleanup the jenkins workspace and are aware of the ‘cleanws()’ plugin but we do not want to modify all the jenkins files. Is there a way we do this activity in a more centralized manner, may be one single job which takes care of all the cleanup activity or may be plugin which does this.

You help would be much appreciated, thank you.