How to template HTML to create custom report?

47 views
Skip to first unread message

Trever

unread,
Apr 12, 2017, 2:23:46 PM4/12/17
to Jenkins Users
I want to be able to have an HTML template of some sort the I can populate with values from another source (in my case, a yaml file).  Then I would use HTML publish plugin to add the HTML to my job result.  I've googled around to see what kind of options I may have to do this but nothing stands out.  

I'm looking for suggestions.

Thanks

Ioannis Moutsatsos

unread,
Apr 18, 2017, 7:51:29 AM4/18/17
to Jenkins Users
The simplest option is to use a Groovy build step with a few lines of code to parametrize your html template with the yaml file. See here the options that Groovy offers for template engines
Reply all
Reply to author
Forward
0 new messages