-
Bug
-
Resolution: Unresolved
-
Major
-
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
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.