Reduce number of logs kept for merge and periodic jobs 08/34008/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 3 Feb 2016 18:05:35 +0000 (13:05 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 3 Feb 2016 18:07:02 +0000 (13:07 -0500)
Limit to max of 14 days or 10 total logs. Historical logs for these job
types aren't too useful and makes Jenkins WebUI take longer to load.
Let's reduce the amount of artifacts we keep for these types of jobs.

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

index c416ea8664659ae0016633c5cf2678e376c3c1fd..d9ee40ff8c10f4cd5acaa5cc560ff3bf308f067b 100644 (file)
@@ -15,8 +15,8 @@
     jdk: '{jdk}'
 
     logrotate:
-        daysToKeep: '{build-days-to-keep}'
-        numToKeep: '{build-num-to-keep}'
+        daysToKeep: '14'
+        numToKeep: '10'
         artifactDaysToKeep: '{build-artifact-days-to-keep}'
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
index 8329946ade435de177f3001abdc91117967eb707..7e55fbee7ed564f7c9f524d18f6bea6b23a6bb00 100644 (file)
@@ -16,8 +16,8 @@
     jdk: '{jdk}'
 
     logrotate:
-        daysToKeep: '{build-days-to-keep}'
-        numToKeep: '{build-num-to-keep}'
+        daysToKeep: '14'
+        numToKeep: '10'
         artifactDaysToKeep: '{build-artifact-days-to-keep}'
         artifactNumToKeep: '{build-artifact-num-to-keep}'