Introduction
Disk space management in Jenkins helps keep the server clean and running smoothly by removing old build files and logs that take up too much space.
When Jenkins server disk is filling up and builds start failing due to lack of space
When you want to automatically delete old build artifacts to save storage
When you want to keep only recent build logs for troubleshooting and remove older ones
When you want to prevent Jenkins from slowing down because of too many stored files
When you want to schedule cleanup tasks to run regularly without manual intervention