[JIRA] (JENKINS-58433) Plot plugin doesn't display data points from previous builds in case of multiple .properties files

1 view
Skip to first unread message

jatinmehta.jm@gmail.com (JIRA)

unread,
Jul 10, 2019, 3:00:02 PM7/10/19
to jenkinsc...@googlegroups.com
Jatin Mehta created an issue
 
Jenkins / Bug JENKINS-58433
Plot plugin doesn't display data points from previous builds in case of multiple .properties files
Issue Type: Bug Bug
Assignee: Veaceslav Gaidarji
Components: plot-plugin
Created: 2019-07-10 18:59
Environment: Plot plugin 2.1.1, Jenkins ver. 2.176.1, Chrome
Priority: Major Major
Reporter: Jatin Mehta

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'
            }
            }
          }
        }

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages