I slapped my forehead several times when I read your answer... Thanks ! Le mardi 26 février 2013, Merrow, Frank a écrit :
> On success . . . delete all those unwanted artifacts before terminating > the job? > *From:* jenkinsci-users@googlegroups.com <javascript:_e({}, 'cvml', > 'jenkinsci-users@googlegroups.com');> [mailto: > jenkinsci-users@googlegroups.com <javascript:_e({}, 'cvml', > 'jenkinsci-users@googlegroups.com');>] *On Behalf Of *Xavier Nodet > *Sent:* Tuesday, February 26, 2013 9:01 AM > *To:* jenkinsci-users > *Subject:* Deleting artifacts for successful builds > > > Some of our Jenkins jobs run tests. When a test fails, it may have created > a core file, and we want to archive this core file and all the other > relevant binaries. But for all the successful jobs, these binary artifacts > are useless and take much space in the build history. Is there an easy way > to save the artifacts only for failing builds, or to remove the artifacts > for all the successful builds? > -- Xavier Nodet -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.