Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5731

[patch] Disk-usage plugin should only only update Build if disk usage changed

    Details

    • Similar Issues:

      Description

      The disk-usage plugin currently updates every build.xml file within Hudson every 60 minutes. This wreaks havoc on incremental backups of the Hudson master, as every build of every job appears to have been changed every time the backup runs.

      The attached patch causes the build.xml to only be updated if the disk usage for that build actually changed since the last time the thread ran.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : vjuranek
          Path:
          trunk/hudson/plugins/disk-usage/src/main/java/hudson/plugins/disk_usage/DiskUsageThread.java
          http://jenkins-ci.org/commit/30739
          Log:
          Build disk usage is recorded only if changed more then 1kB JENKINS-5731

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : vjuranek Path: trunk/hudson/plugins/disk-usage/src/main/java/hudson/plugins/disk_usage/DiskUsageThread.java http://jenkins-ci.org/commit/30739 Log: Build disk usage is recorded only if changed more then 1kB JENKINS-5731
          Hide
          vjuranek vjuranek added a comment -

          Patch applied, thanks for contribution.

          Show
          vjuranek vjuranek added a comment - Patch applied, thanks for contribution.

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              jsiirola jsiirola
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: