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

LogRotator does not delete Maven Artifacts

XMLWordPrintable

    • 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?

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

              Created:
              Updated:
              Resolved: