Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Deletes the workspace for all disabled jobs to save space
Log rotation normally runs after a build is completed. If you want to run log rotation on all of your jobs without having to build them (for example after you have changed the retention settings, or if you have disabled builds, or if you have jobs that don't run very often). Enter the following script into the script console:

import jenkins.model.*
.findAll {it.disabled}
    .each {
      println("Wiping workspace for "+it.fullName)
  • No labels