Rollback to deprecated "logrotate" JJB option
sre-ci dislikes new parameter
Change-Id: I124e1b125343b02f167f9ea6b768e6b5f9492847
diff --git a/jobs/templates/test-scenarios.yml b/jobs/templates/test-scenarios.yml
index 1d26ca0..2df3f5d 100644
--- a/jobs/templates/test-scenarios.yml
+++ b/jobs/templates/test-scenarios.yml
@@ -93,9 +93,9 @@
jobs:
- '{test_scenario}'
- build-discarder:
- days-to-keep: 365
- artifact-days-to-keep: 60
+ logrotate:
+ DaysToKeep: 365
+ artifactDaysToKeep: 60
- job-group:
name: 'ceph-tests'
@@ -118,9 +118,9 @@
display-name: Failover tests for Ceph nodes
jobs:
- '{test_scenario}'
- build-discarder:
- days-to-keep: 365
- artifact-days-to-keep: 60
+ logrotate:
+ DaysToKeep: 365
+ artifactDaysToKeep: 60
- job-group:
name: 'update-tests'
@@ -206,9 +206,9 @@
jobs:
- '{test_scenario}'
- build-discarder:
- days-to-keep: 365
- artifact-days-to-keep: 60
+ logrotate:
+ DaysToKeep: 365
+ artifactDaysToKeep: 60
###################### JOB TEMPLATE ###################
- job-template:
@@ -220,9 +220,9 @@
disabled: '{disabled|false}'
quiet-period: 2
node: 'openstack_slave_{deployment}'
- build-discarder:
- days-to-keep: 365
- artifact-days-to-keep: 60
+ logrotate:
+ DaysToKeep: 365
+ artifactDaysToKeep: 60
num-to-keep: 60
artifact-num-to-keep: 60
# Requires the Jenkins BuildResultTrigger Plugin