Rollback to deprecated "logrotate" JJB option
sre-ci dislikes new parameter
Change-Id: I124e1b125343b02f167f9ea6b768e6b5f9492847
diff --git a/jobs/templates/heat-cicd-pike-dvr-sl.yml b/jobs/templates/heat-cicd-pike-dvr-sl.yml
index 7f48f08..91db005 100644
--- a/jobs/templates/heat-cicd-pike-dvr-sl.yml
+++ b/jobs/templates/heat-cicd-pike-dvr-sl.yml
@@ -9,8 +9,8 @@
triggers:
- timed: '{obj:trigger_time}'
properties:
- - build-discarder:
- days-to-keep: 365
+ - logrotate:
+ DaysToKeep: 365
num-to-keep: 50
parameters:
- string:
@@ -221,6 +221,6 @@
clean:
before: true
script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
- build-discarder:
- days-to-keep: 365
- artifact-days-to-keep: 60
+ logrotate:
+ DaysToKeep: 365
+ artifactDaysToKeep: 60