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

Archived artifacts of Maven Modules are no longer cleaned up

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • maven-plugin
    • None
    • Jenkins 1.504

      After upgrading from 1.500 to 1.504 I noticed rapidly declining free diskspace on out build master. Looking into it, I noticed that the settings for Artifact retention (Max # of builds to keep with artifacts) does not work for archived module artifacts anymore, i.e. none maven artifacts are discarded, but maven artifacts are retained as long as the build is retained (in our case increasing the diskspace used by 30GB per day).

      I have not yet looked into it, but it seems to be related to JENKINS-16979.

          [JENKINS-17553] Archived artifacts of Maven Modules are no longer cleaned up

          Stephan Pauxberger created issue -

          Halvor Platou added a comment -

          Same here. Running version 1.510.

          Tried this in the script console (in reference to JENKINS-13039):

          import hudson.model.*
          for(job in Hudson.instance.items) {
             job.logRotate()
          }

          It reports no errors, but the modules are not deleted.

          Halvor Platou added a comment - Same here. Running version 1.510. Tried this in the script console (in reference to JENKINS-13039 ): import hudson.model.* for (job in Hudson.instance.items) { job.logRotate() } It reports no errors, but the modules are not deleted.

          Same issue here, running 1.506. The script does not make any difference. Due to the number and size of our builds, this really is a problem for us.

          Henrik Horneber added a comment - Same issue here, running 1.506. The script does not make any difference. Due to the number and size of our builds, this really is a problem for us.

          Still broken in 1.509.1 LTS.

          Henrik Horneber added a comment - Still broken in 1.509.1 LTS.

          Jason Klapste added a comment -

          Still broken in 1.519

          Jason Klapste added a comment - Still broken in 1.519

          Seeing this is 1.514 as well.

          Brent Atkinson added a comment - Seeing this is 1.514 as well.

          kutzi added a comment -

          Looks like a duplicate of JENKINS-17508 to me. Has anyone tried 1.515?

          kutzi added a comment - Looks like a duplicate of JENKINS-17508 to me. Has anyone tried 1.515?
          kutzi made changes -
          Link New: This issue duplicates JENKINS-17508 [ JENKINS-17508 ]
          Geoff Cummings made changes -
          Link New: This issue duplicates JENKINS-17355 [ JENKINS-17355 ]

          Looks like duplicate of JENKINS-17355 and JENKINS-17508

          After update to 1.515 I was able to reclaim 100GB of artifacts from maven modules.

          I think we can mark this as fixed.

          Geoff Cummings added a comment - Looks like duplicate of JENKINS-17355 and JENKINS-17508 After update to 1.515 I was able to reclaim 100GB of artifacts from maven modules. I think we can mark this as fixed.

            Unassigned Unassigned
            paux Stephan Pauxberger
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: