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

Job Config History plugin by default saves all changes in Global Build Stats plugin log, which leads to high disk usage

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Windows XP SP3,
      Hudson 1.364,
      Job Config History 1.4,
      Global Build Stats 0.1-alpha4

      Description

      (This report should relate to both "jobconfighistory" and "global-build-stats" components but latter doesn't exist in Jira)

      1. Global Build Stats plugin saves log into global-build-stats.xml in Hudson home directory.
      2. Job Config History plugin saves copy of global-build-stats.xml for each change in it.

      Each copy of global-build-stats.xml takes about 1-3 Mb for my Hudson setup, so after few months of using both of pointed plugins "configuration history" for global-build-stats.xml took about 7 Gb of space.

      Solution for this issue is to add "global-build-stats" into "system configuration exclude file pattern" in Job Config History configuration (http://HUDSON/configure).

      My suggestion is to do one of:
      1. Describe this issue on Global Build Stats/Job Config History plugins wiki.
      2. Store log for Global Build Stats not in .xml file.

      Thanks

        Activity

        Show
        mfriedenhagen Mirko Friedenhagen added a comment - - edited Done: http://wiki.jenkins-ci.org/pages/diffpages.action?pageId=42469550&originalId=45482090 and http://fisheye.jenkins-ci.org/changelog/Hudson/?cs=32566 Will close this when 1.6 is released.
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : mfriedenhagen
        Path:
        trunk/hudson/plugins/jobConfigHistory/src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryConsts.java
        trunk/hudson/plugins/jobConfigHistory/src/main/webapp/help/help-excludePattern.html
        http://jenkins-ci.org/commit/32566
        Log:
        Fix for JENKINS-6924: Add global-build-stats to DEFAULT_EXCLUDE in JobConfigHistoryConsts.java.

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mfriedenhagen Path: trunk/hudson/plugins/jobConfigHistory/src/main/java/hudson/plugins/jobConfigHistory/JobConfigHistoryConsts.java trunk/hudson/plugins/jobConfigHistory/src/main/webapp/help/help-excludePattern.html http://jenkins-ci.org/commit/32566 Log: Fix for JENKINS-6924 : Add global-build-stats to DEFAULT_EXCLUDE in JobConfigHistoryConsts.java.
        Hide
        mfriedenhagen Mirko Friedenhagen added a comment -

        Part of released version 1.9

        Show
        mfriedenhagen Mirko Friedenhagen added a comment - Part of released version 1.9

          People

          • Assignee:
            mfriedenhagen Mirko Friedenhagen
            Reporter:
            rutsky rutsky
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: