{jenkins-plugin-info:diskcheck} |
This plugin checks for Disk Space on the slave machine before starting a build. If the disk space is below minimum threshold (default 1 Gb ) build will fail, One can set the threshold parameter in the Global Configuration , Also you can choose to delete the workspace if the disk space is low |
Job Configuration Example:
Global Configuration :
Enable Disk Recycler :: if it's checked and the disk space is low for a job , then it will delete everything in the current job workspace directory,
Threshold for disk check :: you specify per job disk space requirement (in Gb ) in this text box
Global Configuration Example :