Show builded image in Build Summary

25 views
Skip to first unread message

JoshuadV

unread,
Aug 3, 2015, 3:12:52 AM8/3/15
to Jenkins Developers
Hello there,

ill start right here with an excuse.
Im programming since 2 years now, so you can say im at the very start.
Im doing a practica right now, and my actual work is to write a Jenkins Plugin.

Most of the things are working, many Javadoc-Reading and Googling is needed but most of the things work great.
Now i got the following problem, Google or your forum did not provide a solution for that yet.

In my build step I create a Image of a graph (JFreeChart).
When the build is finished I want it to be shown in the Build Summary so i have an image tag in summary.jelly

My problem is that the image tag stays empty, and i really tried everything. Where do I have to save the Image, and how can i access it then? I tried the workspace, the folder for each build, the webapp folder..
I tried it with a Static Path and also with a Path that i send to the jelly through a getter in my action. Nothing works.

I hope you guys have a solution for me, it would be awful if i cant show the image :/ btw the image is really created :)

Thanks in advance,

Joshua

Ioannis Moutsatsos

unread,
Aug 5, 2015, 3:51:53 PM8/5/15
to Jenkins Developers
There are many ways to display images that were generated during a build.
For starters, take a look at the Jenkins Image Gallery plugin or the HTML Publisher plugin that can display a rich HTML report of your build results
Reply all
Reply to author
Forward
0 new messages