I would like to create an archive of the *.jar files in hudson. Currently it does not list the *.jar files created by the build. Is there an addon for this, or is there setup required, if so where?
Here is what I would like it to look like.
(source: nabble.com)
Here is what i currently have.
(source: nabble.com)
edit: also do i need to play with include sets in order to get this working?
Edit the project properties. Click on the option "Archive the artifacts", and enter a pattern matching the artifacts you want to keep. For example, *.jar
.
The presentation is changed based on the number of files you're archiving. There are three modes:
- Plain list
- Tree
- Simple link
To control how many files need to be present before it switches to another presentation mode, set the system properties:
hudson.model.Run.ArtifactList.listCutoff
(default 16)hudson.model.Run.ArtifactList.treeCutoff
(default 40)
Example java
call:
java -Dhudson.model.Run.ArtifactList.listCutoff=40 -Dhudson.model.Run.ArtifactList.treeCutoff=100 -jar jenkins.war
来源:https://stackoverflow.com/questions/3187561/last-successful-artifacts-list