• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      For our maven jobs we deploy the artifacts to a Nexus Maven repository.
      This requires that I do not select the "Disable automatic artifact archiving" option.

      I have configured the LogRotator Discard old builds to keep the last 30 builds, but only keep 1 build with artifacts.

      In multimodule maven builds the following directory is deleted:
      ${jenkins_home}/jobs/${jobname}/archive

      The following directories are not deleted:
      ${jenkins_home}/jobs/${jobname}/modules/${moduleName}/builds/65/archive

      Is there another way to deploy the artifacts to nexus and retain a build history without having to keep all the module artifacts?

          [JENKINS-17355] LogRotator does not delete Maven Artifacts

          Geoff Cummings created issue -
          Geoff Cummings made changes -
          Link New: This issue is related to JENKINS-17508 [ JENKINS-17508 ]

          Resolved is 1.515
          Freed 100GB of disk space.

          Geoff Cummings added a comment - Resolved is 1.515 Freed 100GB of disk space.
          Geoff Cummings made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Geoff Cummings made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Geoff Cummings made changes -
          Link New: This issue is duplicated by JENKINS-17553 [ JENKINS-17553 ]
          Geoff Cummings made changes -
          Link Original: This issue is related to JENKINS-17508 [ JENKINS-17508 ]
          Geoff Cummings made changes -
          Link New: This issue is duplicated by JENKINS-17508 [ JENKINS-17508 ]

          ndg added a comment - - edited

          Still occurs since 1.530 where the modules artefacts are not cleaned up... at least the old artefacts already in place are not cleaned up

          ndg added a comment - - edited Still occurs since 1.530 where the modules artefacts are not cleaned up... at least the old artefacts already in place are not cleaned up
          ndg made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]

            ndg ndg
            gcummings Geoff Cummings
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: