Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8769

"Deploy to Maven repository" behaviour broken in >1.382

    XMLWordPrintable

Details

    Description

      We have our Jenkins instances set up with master projects that use the "Deploy artifacts to Maven repository" feature after they are built.

      One of the projects has 1 standard and 1 "attached" artifact (These are flexmojo projects, so it's a SWC + SWF).

      However; in our nexus (1.8.0.1) instance, we do indeed see specific 'timestamped' artifacts being deployed. Unfortunately they seem to attract different 'build' numbers;
      I.E: there is the following:

      flex-module-20110109.18540-5.swc
      flex-module-20110109.18540-6.swf

      The maven-metadata.xml in the same repository refers to the latter (<buildNumber>6</buildNumber>)

      When a downstream project refers to the swc (usually in <scope>rsl</scope>), the build attempts to download flex-module-20110109.18540-6.swc - which does not exist - therefore the build breaks.

      This worked in previous versions, so is a blocking issue for us because we can't upgrade.

      See email thread @ http://comments.gmane.org/gmane.comp.java.hudson.user/35783

      Attachments

        Issue Links

          Activity

            marcelstoer Marcel Stör added a comment - - edited

            According to the mail thread you ruled out Nexus or Maven being the culprits? Could you attach a ZIP/TAR with your skeleton projects - helps with analyzing what's going on. Using the deploy Maven goal to deploy (instead of Jenkins) works fine?

            marcelstoer Marcel Stör added a comment - - edited According to the mail thread you ruled out Nexus or Maven being the culprits? Could you attach a ZIP/TAR with your skeleton projects - helps with analyzing what's going on. Using the deploy Maven goal to deploy (instead of Jenkins) works fine?
            olamy Olivier Lamy added a comment -

            looks duplicate of JENKINS-8651.
            Can you check with 1.398 ?

            olamy Olivier Lamy added a comment - looks duplicate of JENKINS-8651 . Can you check with 1.398 ?

            People

              olamy Olivier Lamy
              magnayn magnayn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: