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

maven snapshot deployment fails if no existing snapshot

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      For a maven2 build, the post-build action "Deploy artifacts to Maven repository"
      fails if there is no snapshot already in the repository. Looking up the old
      snapshot number fails and the deployment bails out. The workaround is to make
      sure the repository is seeded with an initial snapshot, but this will need to be
      re-done whenever the version number of the artifact snapshot is changed.

          [JENKINS-3403] maven snapshot deployment fails if no existing snapshot

          csurridge created issue -

          If you have the console output from your failed build, please attach it.

          Kohsuke Kawaguchi added a comment - If you have the console output from your failed build, please attach it.
          Kohsuke Kawaguchi made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          troyronning added a comment -

          Created an attachment (id=1012)
          Build Error

          troyronning added a comment - Created an attachment (id=1012) Build Error
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 133476 ] New: JNJira + In-Review [ 185324 ]

            Unassigned Unassigned
            csurridge csurridge
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: