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

"Deploy to Maven repository" behaviour broken in >1.382

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • maven-plugin
    • None

      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

          [JENKINS-8769] "Deploy to Maven repository" behaviour broken in >1.382

          magnayn created issue -
          Olivier Lamy made changes -
          Link New: This issue duplicates JENKINS-8651 [ JENKINS-8651 ]
          Olivier Lamy made changes -
          Assignee New: Olivier Lamy [ olamy ]
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138913 ] New: JNJira + In-Review [ 204898 ]

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

              Created:
              Updated:
              Resolved: