Keep build artifacts for 14 days only 38/41338/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 5 Jul 2016 17:33:46 +0000 (13:33 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 5 Jul 2016 18:15:28 +0000 (14:15 -0400)
The deleting artifacts after 5 max is causing confusion to folks. Lets
reconfigure and simplify the log rotation to keeping max 14 days and
removing the extra configurations.

In the future as we continue to migrate jobs to logs.opendaylight.org
that system has a 6 month log retention so we can reduce Jenkins
further as we proceed.

Change-Id: I98c1c0e76cf4e93244b82415c3091dc11b9f22d8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb-templates/verify.yaml

index 0efacba61fabeecd4ea9b415f4e30dfff1905086..cfc4e2d6764f9bfbde945f9d5ac4572a59125e5a 100644 (file)
             values: '{obj:jdks}'
 
     logrotate:
-        daysToKeep: '{build-days-to-keep}'
-        numToKeep: '{build-num-to-keep}'
-        artifactDaysToKeep: '{build-artifact-days-to-keep}'
-        artifactNumToKeep: '{build-artifact-num-to-keep}'
+        daysToKeep: '14'
 
     parameters:
         - project-parameter: