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

ARTIFACT_URL is not correctly resolved for SNAPSHOT artifacts

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If I specify an artifact that is located in a SNAPSHOT repository, I get back a URL that is in the form:
      http://<repoAddress>/some/group/id/some.artifact.id/1.0.0-SNAPSHOT/some.artifact.id-1.0.0-SNAPSHOT-<classifier>.<ext>

      However SNAPSHOT artifacts are stored in the version folder using timestamps.
      So the actual URL should look something like the following:
      http://<repoAddress>/some/group/id/some.artifact.id/1.0.0-SNAPSHOT/some.artifact.id-1.0.0-<timestamp>-<artifactCount>-<classifier>.<ext>

        Attachments

          Activity

          Hide
          gesh Gesh Markov added a comment -

          Fixed and released in version 1.2.0 of the plugin.

          Show
          gesh Gesh Markov added a comment - Fixed and released in version 1.2.0 of the plugin.
          Hide
          poussma Mathieu POUSSE added a comment -

          I did it, added some unit tests, tested on my jenkins ci

          see my pull request #5

          HIH

          Show
          poussma Mathieu POUSSE added a comment - I did it, added some unit tests, tested on my jenkins ci see my pull request #5 HIH

            People

            • Assignee:
              poussma Mathieu POUSSE
              Reporter:
              mdobrindt Michael Dobrindt
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: