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