开发者

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.

Last Successful Artifacts List

(source: nabble.com)

Here is what i currently have.

Last Successful Artifacts List

(source: nabble.com)

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜