Issue Type: Bug Bug
Assignee: Unassigned
Attachments: axe_transverse_mainline_int Config [Jenkins] - Google Chrome.jpg, maven-metadata.xml, socle-transverse.jpg
Components: maven
Created: 10/Mar/14 3:26 PM
Description:

we migrate from Artifactory a week ago, and we were using Artifactory Deploy Plugin to post build deploy our artifact.

As we went to Nexus, we now use the Post build deploy feature of embedded Maven Project plugin.

Everything seems to works, but the maven-metadata.xml are not updated when artifacts are uploaded.

I run many tests, and mining into logs (as we got a Apache Front of our Nexus), and i saw that the plugin download (twice) the maven-metadata from Nexus, and upload one just after (that the normal behaviour - except the twice thing).

But when i look into the file (maven-metadata.xml) the new snapshot version is not present. As our integration process rely on this metadata, we are some kind of blocked (the workaround is to schedule a task in Nexus to rebuild metadata, but this is not "live")

Am I missing something ?

Here is the apache log :
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:50 +0100] "GET /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml HTTP/1.1" 200 341
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:50 +0100] "GET /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml.sha1 HTTP/1.1" 200 40
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:50 +0100] "PUT /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/socle-architecture-transverse-2.13.0-SNAPSHOT.pom HTTP/1.1" 201 -
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:50 +0100] "PUT /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/socle-architecture-transverse-2.13.0-SNAPSHOT.pom.md5 HTTP/1.1" 201 -
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:51 +0100] "PUT /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/socle-architecture-transverse-2.13.0-SNAPSHOT.pom.sha1 HTTP/1.1" 201 -
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:51 +0100] "GET /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml HTTP/1.1" 200 341
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:51 +0100] "GET /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml.sha1 HTTP/1.1" 200 40
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:51 +0100] "PUT /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml HTTP/1.1" 201 -
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:51 +0100] "PUT /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml.md5 HTTP/1.1" 201 -
XXX.XXX.XXX.XXX - - [10/Mar/2014:11:22:51 +0100] "PUT /nexus/content/repositories/snapshots/com/socgen/fwk/socle/socle-architecture-transverse/2.13.0-SNAPSHOT/maven-metadata.xml.sha1 HTTP/1.1" 201 -

here is the Jenkins logs :
Mar 10, 2014 11:22:51 AM org.apache.maven.cli.logging.Slf4jLogger info
INFO: Uploading repository metadata for: 'snapshot com.socgen.fwk.socle:socle-architecture-transverse:2.13.0-SNAPSHOT'

Some attachment:

  • a screen of a section of my repo, and at the same the corresponding maven-metadata.xml
  • the configuration of my post deploy task (not unique version - even if instable)
Environment: Linux Red Hat - Jenkins 1.537 - Nexus 2.7.1
Project: Jenkins
Priority: Major Major
Reporter: Steve Eckerlein
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to