Best way to archive artifacts

30 views
Skip to first unread message

Bruno

unread,
Feb 24, 2015, 7:59:13 AM2/24/15
to jenkin...@googlegroups.com
Hi everyone,

Whats is the best way to archive artifacts ?

- build.getArtifacts().add(Object arg0) ?
or
- move files to the artifact directory ( = build.getArtifactsDir()) ?

Thx

Bruno

Jesse Glick

unread,
Feb 24, 2015, 3:34:26 PM2/24/15
to Jenkins Dev
On Tue, Feb 24, 2015 at 7:59 AM, Bruno <bruno....@liebherr.com> wrote:
> Whats is the best way to archive artifacts?

Assuming 1.532,

build.getArtifactManager().archive(…);

Bruno

unread,
Feb 25, 2015, 2:45:48 AM2/25/15
to jenkin...@googlegroups.com
Thx !
Reply all
Reply to author
Forward
0 new messages