Hi, Sorry but how does this retain the logs forever but discard the artifacts? Reading the example I would expect the logs to be rotated and the artifacts to be maintained which is the opposite.
Where is the documentation for the other options? Thanks, James On 21 July 2017 at 07:27, Breitbach, Steffen <steffen.breitb...@cgm.com> wrote: > My bad. So it's actually a little different: > > > > https://github.com/jenkinsci/pipeline-model-definition- > plugin/wiki/Pipeline-properties > > > > > > *From:* jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@ > googlegroups.com] *On Behalf Of *Dirk Heinrichs > *Sent:* Friday, July 21, 2017 8:09 AM > *To:* jenkinsci-users@googlegroups.com > *Subject:* Re: Discard old build artifacts? > > > > On 21.07.2017 08:05, Breitbach, Steffen wrote: > > I think the Log Rotator Plugin does what you're looking for. Check out > https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block > <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jenkinsci_job-2Ddsl-2Dplugin_wiki_The-2DConfigure-2DBlock&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=wv4kA7CLSuSU86ow6ZNtdXLiH2ZiLB3rvP5pGf65fww&s=A_awz9VnJjxt4_7rijVpMLyb_NAwDE_r9bzK5AljQfc&e=> > > *From:* jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@ > googlegroups.com <jenkinsci-users@googlegroups.com>] *On Behalf Of *James > Green > *Subject:* Discard old build artifacts? > > > > But I'm generating gigs of artifacts that I don't need. Is there a way of > discarding these within a Jenkinsfile? > > > JobDSL != Jenkinsfile > > Bye... > > Dirk > > -- > *Dirk Heinrichs* > Senior Systems Engineer, Delivery Pipeline > OpenTextTM Discovery | Recommind > *Email*: dhein...@opentext.com > *Website*: www.recommind.de > > Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach > > Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon > Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB > 10646 > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail sind nicht gestattet. > > -- > 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. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/058618bc-f884-fff1-d3bd-e0703e0b7968%40opentext.com > <https://groups.google.com/d/msgid/jenkinsci-users/058618bc-f884-fff1-d3bd-e0703e0b7968%40opentext.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/5E63738AB9896844AF1601A1D09467 > 7317A71A45%40SMBXKO1.cgm.ag > <https://groups.google.com/d/msgid/jenkinsci-users/5E63738AB9896844AF1601A1D094677317A71A45%40SMBXKO1.cgm.ag?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMH6%2Baz2B1ki7R%3DXxr%3DCTTiK5qTgHKnwD5dUT93b%2By-YkB7sCg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.