Downloading artifacts from Jenkins using wget or curl Downloading artifacts from Jenkins using wget or curl jenkins jenkins

Downloading artifacts from Jenkins using wget or curl


You can add /*zip*/desired_archive_name.zip to any folder of the artifacts location.

If your ZIP file is the only artifact that the job archives, you can use:

http://*.*.*.*:8080/job/MyProject/lastSuccessfulBuild/artifact/*zip*/myfile.zip

where myfile.zip is just a name you assign to the downloadable archive, could be anything.

If you have multiple artifacts archived, you can either still get the ZIP file of all of them, and deal with individual ones on extraction. Or place the artifact that you want into a separate folder, and apply the /*zip*/ to that folder.