Hudson / Artifactory problem [message #1068157] |
Fri, 12 July 2013 09:05  |
Eclipse User |
|
|
|
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 06:54  |
Eclipse User |
|
|
|
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,
|
|
|
Powered by
FUDForum. Page generated in 0.05173 seconds