-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: plot-plugin
-
None
-
Environment:Plot plugin 2.1.1, Jenkins ver. 2.176.1, Chrome
If a single properties file is provided, previous builds data points are shown. Below is the snippet
Â
plot csvFileName: '$WORKSPACE/Throughput_all_plots.csv', group: 'Throughput_Plots', keepRecords: true, //latest data point propertiesSeries: [[file: 'DRThroughputTestReport.properties', label: 'DR_Throughput']], numBuilds: '10', style: 'line', title: 'Throughput_Plot', yaxis: 'RedoLogThroughput(MBps)', yaxisMaximum: '20', yaxisMinimum: '0'
But in case of two of them, it only shows current build's data pointÂ
plot csvFileName: '$WORKSPACE/Throughput_all_plots.csv', group: 'Throughput_Plots', keepRecords: true, propertiesSeries: [[file: 'DRThroughputTestReport.properties', label: 'DR_Throughput'], [file: 'HAThroughputTestReport.properties', label: 'HA_Throughput']], numBuilds: '10', style: 'line', title: 'Throughput_Plot', yaxis: 'RedoLogThroughput(MBps)', yaxisMaximum: '20', yaxisMinimum: '0'
This is also the case when I create 2 different plots altogether.
success{
node(params.MASTER){
script{
plot csvFileName: '$WORKSPACE/Throughput_all_plots.csv',
group: 'Throughput_Plots',
keepRecords: true,
propertiesSeries: [[file: 'DRThroughputTestReport.properties', label: 'DR_Throughput'], [file: 'HAThroughputTestReport.properties', label: 'HA_Throughput']],
numBuilds: '10',
style: 'line',
title: 'Throughput_Plot',
yaxis: 'RedoLogThroughput(MBps)',
yaxisMaximum: '20',
yaxisMinimum: '0'
plot csvFileName: '$WORKSPACE/HAThroughput_all_plots.csv',
group: 'HAThroughput_Plots',
keepRecords: true,
propertiesSeries: [[file: 'HAThroughputTestReport.properties', label: '']],
style: 'line',
title: 'HAThroughput_Plot',
yaxis: 'RedoLogThroughput(MBps)',
yaxisMaximum: '20',
yaxisMinimum: '0'
}
}
}
}
Â