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/self-deploy-virtulenvs.yaml b/jobs/templates/self-deploy-virtulenvs.yaml
index 75f6027..8cc4d47 100644
--- a/jobs/templates/self-deploy-virtulenvs.yaml
+++ b/jobs/templates/self-deploy-virtulenvs.yaml
@@ -20,7 +20,8 @@
builders:
- shell: "chmod +x tcp_tests/templates/_packer/scripts/jenkins_virtualenvs.sh"
- shell: "export CHANGE_RIGHTS=false ; ./tcp_tests/templates/_packer/scripts/jenkins_virtualenvs.sh"
- logrotate:
- daysToKeep: 365
+ build-discarder:
+ days-to-keep: 365
+ artifact-days-to-keep: 60