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

Deploy a versioned SNAPSHOT to Artifactory fails with message "Archived artifact is missing"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • artifactory-plugin
    • None
    • Red Hat Enterprise Linux Server, release 5.3, kernel version 2.6.18.
      JDK 1.6.0_23
      Deployed into JBoss v4.2.3-GA-jdk6

      After a successful build, Jenkins attempts to deploy a versioned SNAPSHOT artifact to Artifactory 2.3.4.1 (rev. 13021).

      Deployment fails because versioned JAR filename contains a non-unique version number instead of the word "SNAPSHOT". Pom file has no "finalName" tag defined.

      Jenkins Artifactory plugin version is 1.4.2

          [JENKINS-12874] Deploy a versioned SNAPSHOT to Artifactory fails with message "Archived artifact is missing"

          The supplied patch adds a secondary attempt to locate the artifact by its canonical name, instead of the filename.

          By aplying this patch, the exception is no longer thrown and the build succeeds.

          Daniel M. Lambea added a comment - The supplied patch adds a secondary attempt to locate the artifact by its canonical name, instead of the filename. By aplying this patch, the exception is no longer thrown and the build succeeds.

            eyalbe Eyal Ben Moshe
            martind Daniel M. Lambea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: