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

Add Maven metadata when auto-archiving artifacts

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline-maven-plugin
    • None

      The artifacts are now archived in a structure resembling default Maven2 repo layout, however the metadata is missing.

      When trying to use a pipeline build artifacts as a maven repository you will:

      • get [WARNING] Checksum validation failed, no checksums available because no checksum files are present
      • range resolution won't work because of the missing maven-metadata.xml

      What works now is: downloading a single release version of an artifact.

      There is a simple workaround: use deploy goal together with file protocol URL, e.g. -DaltDeploymentRepository=file::default::file://$WORKSPACE/.m2repo

      Problem is that it's tedious to add this to every build and you have to remember to archive the artifacts manually.

          [JENKINS-45405] Add Maven metadata when auto-archiving artifacts

          There are no comments yet on this issue.

            Unassigned Unassigned
            jbochenski Jakub Bochenski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: