Idos
Idos

Reputation: 15310

How to save a binary file (zip) on Jenkins per job, like with HTML Publisher

I am using the HTML Publisher Plugin for Jenkins which works very nicely in creating links to HTML pages such as:

html publisher results

Every run, in addition to creating those HTML files, I also create a certain zip file, which is saved within the workspace under "zip" folder:

the zip file in the workspace of this job

I would like to allow the users of the job to have a link to download this file, much like the "Automation Log" or "Monitored Events" links. Meaning under "Monitored Events" for example there would be a "Download run zip" tab which, when clicked, will download the zip file for this build.
This will also obviously solve the issue of the workspace being deleted every run and the zip file being lost for previous runs.

(Having the users access the workspace and manually click the link is not a desired result for me.)

How can I accomplish this?

Upvotes: 0

Views: 1110

Answers (1)

NinjaGaiden
NinjaGaiden

Reputation: 3146

I think you are looking for the Compress Artifacts Plugin

Upvotes: 2

Related Questions