Keeping 6-ish months worth of plot data 01/19401/3
authorJamo Luhrsen <james.luhrsen@hp.com>
Thu, 30 Apr 2015 18:09:44 +0000 (11:09 -0700)
committerJamo Luhrsen <james.luhrsen@hp.com>
Fri, 1 May 2015 00:34:45 +0000 (00:34 +0000)
the data that the plot plugin reads from is actually very small, and even with 5400 values I don't think it would be much of a blip.

If the plot plugin can scall to 5400 values then I think we can get close to recording 6 months worth of data points for the jobs that run on merges.

for the jobs that are marked periodic, I used 180 as the default since I assumed most periodic jobs might be daily and 180 days is about 6 months.

all of these values are just defaults and can be overridden by each job as they see fit.

Change-Id: I6b622fe1c45cb48cac25c81b77d7b317c1a2fd81
Signed-off-by: Jamo Luhrsen <james.luhrsen@hp.com>
jjb/integration/integration-templates.yaml

index cda45b3da52ff334175458b0c8ab5b2cf1dbede9..03e0c15f6b341bd0e097bd60214e6ca37d85ef47 100644 (file)
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
-            num-builds: ''
+            num-builds: '5400'
             style: line
             use-description: false
             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
           - title: '{02-plot-title}'
             yaxis: '{02-plot-yaxis}'
             group: '{02-plot-group}'
-            num-builds: ''
+            num-builds: '5400'
             style: line
             use-description: false
             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
-            num-builds: ''
+            num-builds: '5400'
             style: line
             use-description: false
             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
           - title: '{02-plot-title}'
             yaxis: '{02-plot-yaxis}'
             group: '{02-plot-group}'
-            num-builds: ''
+            num-builds: '5400'
             style: line
             use-description: false
             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
           - title: '{01-plot-title}'
             yaxis: '{01-plot-yaxis}'
             group: '{01-plot-group}'
-            num-builds: ''
+            num-builds: '180'
             style: line
             use-description: false
             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
           - title: '{02-plot-title}'
             yaxis: '{02-plot-yaxis}'
             group: '{02-plot-group}'
-            num-builds: ''
+            num-builds: '180'
             style: line
             use-description: false
             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'