Jenkins : Disk Usage Plugin

Plugin Information

View disk-usage on the plugin site for more information.

This plugin records disk usage.

Configuration

Showing disk usage trend graph is optional - unselect the "Show disk usage trend graph" checkbox on the global configuration page ("Manage Jenkins" -> "System configuration") if you don't want to see the graph on the project page.

Usage

When you install this plugin, disk usage is calculated each 60 minutes. You can see project list with occupied disk space by going to the "Disk Usage" page in the management section (Dashboard -> "Manage Jenkins" -> "Disk Usage"). The same page also allows you to schedule disk usage calculation immediately.


More detailed information can be seen on the project page, where you can find disk usage for each build and workspace, as well as a graph with disk usage trend.


Change Log

Upcoming changes

Release 0.29 (Coming soon)

Release 0.28 (Oct 01, 2015)

  • Remove excessive logging (JENKINS-30718)

Release 0.27 (September 21 2015)

  • Require admin permission to calculate disk space (JENKINS-23100)
  • Add disk usage as post-build step 

Release 0.26 (September 14 2015)

  • Fix bug where saving configuration resulted in multiple Job Config History entries (JENKINS-22224)
  •  

Release 0.25 (January 26, 2015)

  • Plugin doesn't rely on the format of Run.id any more (pull #26)

Release 0.24 (August 5, 2014)

Partially based on Git commit messages, it is difficult to pair them with Jira tasks.

  • Update disk usage changelog (JENKINS-20604)
  • Add workspace information in plugin main page
  • Separate not current slave wokrspace
  • Add current state into overall graph
  • Separate scale for workspaces
  • Enable excluded jobs for disk usage calculation
  • Fix size style on job page
  • Fix typo + move methods getValue and getUnit into ProjectDiskUsageActionFactory class

Release 0.23 (November 12, 2013)

Based on Git commit messages, it is difficult to pair them with Jira tasks.

  • Add test + fix bug which they catch and better line for graphAdd test + fix bug which they catch and better line for graph
  • Reverse build order in graph
  • Make graph huger
  • Make free space in job directory optional in global graph
  • Better sheduling automatic calculation
  • Move information about project disk usage form config.xml of job
  • Fixing typo direcotory -> directory
  • Display next execution time and add buttom for builds, jobs and workspaces
  • Fix link in menu on main page

Release 0.22 (October 18, 2013)

Based on Git commit messages, it is difficult to pair them with Jira tasks.

  • Fix tests - HudsonTestCase perform tests in the same jenkins home directory, so test have to do clean up
  • Fix test
  • Display all workspaces
  • Save history
  • Fix backward compatibility, fix concurent modification exception and make timeout workspace configurable
  • Replace Util.isSymlink
  • Fix backward compatibility
  • Control if diskUsageWithoutBuild!=null
  • Check if slaveWorkspacesUsage is not null
  • Change developer
  • Better colors for graph
  • Add backward compatibility
  • Add tests and fix bug which test find out
  • Correct information about author
  • Add tests for case the slave is deleted or workspace of project was deleted
  • Fix problems with claculation threads and removing workspaces form diskUsage set if do not exist or its slave does not exists
  • Add tests
  • Fix problems with symlinks
  • Add filter for builds age
  • Fix issue with graph
  • Add e-mail warnings
  • Configurable disk usage calculation
  • Another type of graph
  • Rewrite creation of graphs
  • Add funkcionality for counting disku usage of workspaces + tests
  • Change behaviour for counting jobs size and builds size + add tests for it
  • Rewriting disk-usage classes structure

Release 0.21 (September 9, 2013)

  • Added option for workspace calculation timeout configuration (pull #14)
  • Added French translation (pull #13)
  • Don't follow symlinks (pull #12)

Release 0.20 (June 5, 2013)

  • If workspace doesn't exists, use zero size instead of using previous workspace (pull #11)
  • Traditional Chinese translations (pull #10)

Release 0.19 (March 15, 2013)

  • Fixed link Jenkins management section (JENKINS-16420)
  • Fixed root link to preserve protocol (JENKINS-15565)
  • Fixed Compute maven module disk usage (JENKINS-15534)
  • Setup workspace timeout and added calculation of the build immediately after the build (pull #9)

Release 0.18 (September 4, 2012)

  • Fixed DiskUsage dont show values (JENKINS-14248)
  • Overall disk usage graph, removed some deprecated methods (pull #8

Release 0.17 (May 24, 2012)

  • Added support for hierachical job model (pull #6)
  • Fixed broken showGraph (pull #7

Release 0.16 (April 13, 2012)

Release 0.15 (February 26, 2012)

  • Migration from job property to project action which fixed couple of things (JENKINS-12870)
  • Link to disk usage plugin added to main page as /manage is restricted only for users with admin rights

Release 0.14 (June 27, 2011)

Release 0.13 (March 26, 2011)

  • Japanese translation 

Release 0.12 (Oct 22, 2010)

  • Bug fix - workspace disk usage shows wrong values in some cases (JENKINS-7867)

Release 0.11 (Jun 4, 2010)

Release 0.10 (Feb 10, 2010)

  • Update code for more recent Hudson

Release 0.9 (May 28, 2009)

  • Fixed a problem where prolonged disk usage computation can starve other timer activities, like polling.

Release 0.8:

  • Now works with Hudson ver. 1.293 (for details see JENKINS-3340)

Release 0.7:

  • ?

Release 0.6:

  • Added sum of values on the top of the overview page.
  • Disk usage for build is recalculated each time to reflect artifacts deletion.
  • Default trigger interval prolonged to 60 minutes.

Release 0.5:

  • Fixed "Back to Dashboard" link.
  • Added option for showing trend graph.
  • Fixed and reversed ordering on the overview page (the most space consuming projects are on the top of the page now).

Release 0.4:

  • Fixed NPE.

Release 0.3:

  • Icon changed.

Release 0.2:

  • First available public release.

Missing features and known bugs

Attachments:

du-overview.png (image/png)
du-project.png (image/png)