I have written a plugin to add a Disk check before a project is started,
Problem Statement : Disk run out of space while running a build , We do use Disk Usage plugin , but it checks for disk usage every hour also mark the slave offline without any notification which is not appropriate
Solution : The plugin checks for disk available and fail the build is the disk is below the Threshold ( You define the Threshold in a global parameter) , Also there is a Global Configuration which says Disk Recycler if set it will check if disk is low , then it will delete everything in workspace directory,
Here is the source code for the team, please review and fork ..
https://github.com/mthak/diskcheck-plugin
Please provide access to add this plugin in open source community ,
My Github id is "mthak"
Thanks
Manoj