Hi James,
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
Steffen
--
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-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAMH6%2BawDBdLSg4x7k4BhF--sFDHMMxx%2Ba%2BNyx79a-qkzwgZC8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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
From: jenkins...@googlegroups.com [mailto:jenkins...@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?
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.
My bad. So it's actually a little different:
https://github.com/jenkinsci/pipeline-model-definition-plugin/wiki/Pipeline-properties
--
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-use...@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.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@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.
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 view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5E63738AB9896844AF1601A1D094677317A71A45%40SMBXKO1.cgm.ag.To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.