[
https://issues.jenkins-ci.org/browse/JENKINS-12874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel M. Lambea updated JENKINS-12874:
---------------------------------------
Attachment: patch.txt
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.
> Deploy a versioned SNAPSHOT to Artifactory fails with message "Archived
> artifact is missing"
> --------------------------------------------------------------------------------------------
>
> Key: JENKINS-12874
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12874
> Project: Jenkins
> Issue Type: Bug
> Components: artifactory
> Environment: 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
> Reporter: Daniel M. Lambea
> Assignee: yossis
> Attachments: jenkins-console-output.txt, patch.txt
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira