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

use wildcard syntax to get direct link to artifact

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins allows wildcards in URLs so that we can filter artifacts like this:
      http://myjenkins.local/job/MyJob/lastSuccessfulBuild/artifact/**/*-release.apk/*zip*/foo.zip

      If the filter results in multiple files, this is great-- you get all the artifacts downloaded in a single zip file. However, if the filter results in single artifact, you get a zip containing only one file, which is odd.

      Knowing that my filter will only result in one file, I'd like to be able to download it directly, like so:
      http://myjenkins.local/job/MyJob/lastSuccessfulBuild/artifact/**/*-release.apk

      However, this takes me to a webpage showing the single filtered file.

      Can we get a feature that lets us use the wildcards to directly download a file? Perhaps something like this:
      http://myjenkins.local/job/MyJob/lastSuccessfulBuild/artifact/**/*-release.apk?direct=true

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Not a bug...

          Show
          oleg_nenashev Oleg Nenashev added a comment - Not a bug...

            People

            • Assignee:
              Unassigned
              Reporter:
              paleozogt Aaron Simmons
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: