LogRotator does not delete Maven Artifacts

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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?

            Assignee:
            ndg
            Reporter:
            Geoff Cummings
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: