Last Successful Artifacts List
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.
Here is what i currently have.
edit: also d开发者_开发百科o i need to play with include sets in order to get this working?
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
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
.
精彩评论