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:
"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.