This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

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

       

            Assignee:
            Veaceslav Gaidarji
            Reporter:
            Jatin Mehta
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: