Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48215

Plot plugin doesn't generate chart data when using pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • plot-plugin
    • None
    • Jenkins 2.73.3
      Plot Plugin 2.0.0
      Pipeline 2.5

      I have following configuration on freestyle job which will generate chart successfully.

      Then I have pipeline job where I'm using following code which is generated with Snippet Generator using same configurations than in freestyle job:

      plot csvFileName: 'plot-14bd9ae9-09b8-407a-8fb5-fffc0528e2c5.csv', exclZero: false, group: 'RX_Module_1', keepRecords: true, logarithmic: false, numBuilds: '', style: 'line', title: 'P1', useDescr: false, xmlSeries: [file: 'plot.xml', nodeType: 'NODESET', url: '', xpath: '*/*/P1/*'], yaxis: '', yaxisMaximum: '', yaxisMinimum: ''

      For some reason that code doesn't generate data. Generated csv file looks like this:

      "Title","P1"
      "Value","Series Label","Build Number","Build Date","URL"
      So only topics are there but the data lines are missing totally. I'm using exactly same xml file in both jobs.

       

        1. image-2017-12-14-11-34-03-414.png
          3 kB
          Reinhold Füreder
        2. plot_configuration.PNG
          31 kB
          Jaakko Finning

            nidaley nidaley
            jfinning Jaakko Finning
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: