Display an artifact in the jenkins build results page Display an artifact in the jenkins build results page jenkins jenkins

Display an artifact in the jenkins build results page


The easiest way to add an image display to your Jenkins project is to edit the project description.

At the top of the project, on the right, there's an 'edit description' button. This allows you to enter HTML code that will be displayed at the top of the project. Assuming the image you generate has a fixed known URL, you should be able to add it in here.

I've seen this done, for example, with PHP projects that use PDepend to generate code stats graphs. In these cases, the project 'description' might look something like this:

<a href='ws/build/pdepend/overview-pyramid.svg'><img src="ws/build/pdepend/overview-pyramid.svg" type="image/svg+xml" /></a><a href='ws/build/pdepend/dependencies.svg'><img src="ws/build/pdepend/dependencies.svg" type="image/svg+xml" /></a>

This would result in the two charts being displayed at the top of the project page.

(You can, of course, enter a regular description text as well).

Hope that helps.


Even after using the solution given by SDC, it doesn't worked for me.

After doing some R&D, I observed that it was a bug in Jenkins

https://issues.jenkins-ci.org/browse/JENKINS-22028

and resolved in 1.564 or newer.

To resolve this all you have to do is Manage Jenins> Configure Global Security > and select the markup formatter as RAW HTML.


You can use Sidebar-Link Plugin for small images (icons). Otherwise get Chuck Norris Plugin and customize it to your needs.