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

Matrix jobs does not automatically remove old builds for configurations

    XMLWordPrintable

Details

    Description

      Hello

      I'm reporting an important issue on Jenkins with matrix build. The 'Discard Old Builds' setting doesn't remove builds in configuration, leading to increase disk usage without limit.

      Here is the behavior :

      • the master job is correctly cleaned, for instance, after a month if configured so, the artifacts are dropped and the build are correctly deleted
      • however this is not the case for the configuration builds, if i go into the page of one I can see a very long list of builds not having been deleted (so this is not synchronized with the 'master').
        The files in

      ~/jenkins/jobs/MyJobName/configurations/axis-FOO/foo/axis-BAR/bar/builds
      are no deleted while
      ~/jenkins/jobs/MyJobName/builds/
      are correctly deleted.

      Also, disk usage is not correctly computed in the disk usage space : the size of the configuration are not taken in account.
      This leads on my build machine a complete saturation of the disks after 1 week of work. I think this is a very critical issue.

      Thanks,
      Gaetan

      Attachments

        Issue Links

          Activity

            stibbons stibbons created issue -
            stibbons stibbons made changes -
            Field Original Value New Value
            Component/s disk-usage [ 15537 ]
            Affects Version/s current [ 10162 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s matrix-project [ 18765 ]
            Component/s matrix [ 15501 ]
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-25990 [ JENKINS-25990 ]
            olivergondza Oliver Gondža made changes -
            Assignee vjuranek [ vjuranek ] Oliver Gondža [ olivergondza ]
            olivergondza Oliver Gondža made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            olivergondza Oliver Gondža made changes -
            Priority Critical [ 2 ] Major [ 3 ]
            Summary Re: Matrix jobs does not automatically remove old artifacts for configurations Matrix jobs does not automatically remove old builds for configurations
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 144020 ] JNJira + In-Review [ 190863 ]

            People

              olivergondza Oliver Gondža
              stibbons stibbons
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: