Hi,
I'm not aware of such plugins, we usually use Jenkins jobs for such tasks like
cleanup old jobs/builds etc.
Periodic job with e.g. following system groovy script as a build step could do
the job:
long LIMIT = 2L*365*24*3600*1000 // 2 years in millis
long NOW = System.currentTimeMillis()
jenkins.model.Jenkins.instance.items.each{job ->
if(job.lastBuild != null && (NOW - job.lastBuild.timeInMillis) > LIMIT) {
println "Deleting ${job.displayName}
job.delete()
}
}
HTH
Vojta