Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Hudson / Artifactory problem(artifacts not properly deployed)
Hudson / Artifactory problem [message #1068157] Fri, 12 July 2013 13:05 Go to next message
James Spader is currently offline James Spader
Messages: 10
Registered: July 2013
Junior Member
Hello,

we┬┤re really stuck with this problem, so maybe someone can help.
Building a job and deploying artifacts (.jar, pom.xml) via Hudson worked for a longer time. Now only the build info - not the artifacts - gets exported to Artifactory.

Obiously the archived filename is different than the one that the artifactory plugin is expecting: pom.xml vs. virtual-0.5.0-SNAPSHOT.pom.

[HUDSON] Archiving [..]\workspace\pom.xml to [..]\builds\2013-07-10_11-52-34\archive\com\virtual\0.5.0-SNAPSHOT\pom.xml
[HUDSON] Archiving [..]\workspace\target\virtual-0.5.0-SNAPSHOT.jar to [..]\modules\com$virtual\builds\2013-07-10_11-52-34\archive\com\virtual\0.5.0-SNAPSHOT\virtual-0.5.0-SNAPSHOT.jar
[..]
Deploying artifact: [..]virtual-0.5.0-SNAPSHOT.jar
ERROR: Archived artifact is missing: [..]\com\virtual\0.5.0-SNAPSHOT\virtual-0.5.0-SNAPSHOT.pom 
java.io.FileNotFoundException: Archived artifact is missing: [..]com\virtual\0.5.0-SNAPSHOT\virtual-0.5.0-SNAPSHOT.pom 


Job configuration is simple, no special options used. If I use the maven goal "deploy" the artifacts get deployed to artifactory, but they are not linked to via Hudson. So I want the Artifactory plugin to deploy the artifacts.

Used versions:
Hudson: 3.0.1-b2
Hudson Artifactory Plugin 2.1.3-h-2
Maven: 3.0.3
Artifactory: 2.6.4

Does anybody have some advice on this?

Thank you!
Re: Hudson / Artifactory problem [message #1069180 is a reply to message #1068157] Mon, 15 July 2013 10:54 Go to previous message
shay b is currently offline shay b
Messages: 1
Registered: July 2013
Junior Member
Hi,

In the past Artifactory plugin didn't knew how to handle POM's with different name than POM.XML.
This is already fix, and the fix will be available with the next version of Hudson Artidactory plugin.

github.com/JFrogDev/build-info/pull/3

Regards,
Previous Topic:InvocationTargetException, StackOverflowError
Next Topic:Deployment problem on GlassFish 4
Goto Forum:
  


Current Time: Fri Sep 19 01:53:52 GMT 2014

Powered by FUDForum. Page generated in 0.03032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software