Viewing a CSV (or any text file really) in a jenkins report

4,537 views
Skip to first unread message

Noam Mendelssohn

unread,
Nov 27, 2013, 8:14:53 AM11/27/13
to jenkins...@googlegroups.com
Hey guys

I have a jenkins job, which creates a CSV file. The file is a list of lines of comma seperetated values. 
You know, a CSV :)

Anywho, I want to display the contents of this file in some kind of automatic report in this job.
Currently the CSV is archived and can be downloaded and viewed, but my higher ups want a prettier, easier report viewable.
So I need to somehow read / parse / show this CSV via jenkins.

Any ideas ?

Thanks in advance
NoamM

Mark Waite

unread,
Nov 27, 2013, 8:20:28 AM11/27/13
to jenkins...@googlegroups.com
Usually, contents of a CSV file represent something higher level.  You might look for a plugin that presents that higher level thing, then convert the CSV to the format of that higher level thing and display it using the Jenkins plugin for that thing.  

For example, if it is test results, you could convert the CSV to JUnit format and display the results as test results.

If the CSV represents compiler warnings, you could convert the output to match the compiler warnings expected output.

If the CSV represents some row and column data computed by the Jenkins job, you could convert it to an HTML table in an HTML page and use the HTML Publisher to show that HTML page in your Jenkins job.

Mark Waite


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

sanja...@gmail.com

unread,
Sep 2, 2014, 5:24:20 AM9/2/14
to jenkins...@googlegroups.com
Hi Mark,

I have the same requirement, the test framework generate a CSV as test report, want to display it on jenkins dashboard, I am not getting what's the proper way to transform a CSV file into Junit format to diplay it into jenkins, appreciate your help

thanks

bubunia...@gmail.com

unread,
May 10, 2016, 10:50:58 AM5/10/16
to Jenkins Users
I have the same requirements. I was looking for a CSV plugin which parse the CSV file and shows a nice report (PASS/FAIL etc). I tried to google it but could not find a good one.
Reply all
Reply to author
Forward
0 new messages