Plugin Information |
---|
View diskcheck on the plugin site for more information. |
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
-------------
Per-Job Configuration: Once installed the Plugin is enabled by default in every job , you can disable it if you like
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 :
Change Log
Version 0.29 (released Jun 14, 2017)
- Changes to address issues with workspace cleanup when recycle is enabled (Pull#5)
- Add Capability to check Disk space every time a Jenkins job starts ( previously it was using diskusage descriptor which runs once every hour)
- Ensure that the system does not exit incase of error.
10 Comments
Unknown User (thomasphillipsnz)
Our jobs are failing because of the NPE, but I have seen it has been fixed in 0.27. When will this new version be released?
Unknown User (cptplastic)
Same issue with my builds. Rolling back to previous version resolved the issues. Seems this was an issue before also. We updated to version 0.29 and it broke our builds rolling back to version 0.26 fixed it.
Unknown User (tspencer3)
I also just updated from 0.26 to 0.29 and have builds that fail because of an exception.
Unknown User (mthakkar)
Thomas : Can you please share more details about your environment , what version of jenkins ? Also your slaves are windows/linux ?
I think i understand where the error is coming from , I will add a fix and release the new version in another 24 hours.
Unknown User (tspencer3)
Windows Server 2008 R2
Jenkins 2.66
Unknown User (skundrik)
I had the same problem as @Thomas Spencer with 0.29 and had to roll back to 0.26. I have just tried 0.30 and I'm now getting this:
I'm using Jenkins 2.65 on Windows 2008 SR2 with job running on the same host.
Unknown User (mthakkar)
@Slavomir,
Thanks for reporting the issue, i think i understand what's happening there. I will address it with a newer version of the code in another 2-3 days.
Unknown User (hoffmaao)
Hi,
I'm using version 0.30 of the plugin with Jenkins 2.60.1 on Ubuntu 16.04.1. I've enabled the option check disk space and set threshold to 1GB. However when I run the build it's giving "no space left on device Build step 'Docker Build and Publish' marked build as failure"
Unknown User (thomasphillipsnz)
Should we be using the comments here for issues? Isn't that what the "Open Issues" link at the top is for?
http://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hide&reset=true&jqlQuery=project+%3D+JENKINS+AND+status+in+%28Open%2C+%22In+Progress%22%2C+Reopened%29+AND+component+%3D+%27diskcheck-plugin%27
Unknown User (cmchoi)
I have same issue
DiskCheck 0.30
Jenkins ver. 2.73.1