Reduce artifacts TTL to 60 days
$ du -d1 -h /var/jenkins_home
240+GB
We do not need all artifacts to be stored at jenkins.
Change-Id: I037d677b7ec448ba259707895919851fe4ed734a
diff --git a/jobs/templates/cleanup-jenkins-agents.yml b/jobs/templates/cleanup-jenkins-agents.yml
index 859463c..46039b5 100644
--- a/jobs/templates/cleanup-jenkins-agents.yml
+++ b/jobs/templates/cleanup-jenkins-agents.yml
@@ -14,5 +14,6 @@
- master
url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
script-path: jobs/pipelines/remove-old-jenkins-agents.groovy
- logrotate:
- daysToKeep: 365
\ No newline at end of file
+ build-discarder:
+ days-to-keep: 365
+ artifact-days-to-keep: 60
\ No newline at end of file