Is this graph specific to each build?  Or is it specific to the project?

I have used some simpler ways for putting graphics on Jenkins project and 
build pages

If the URL for getting  this graph is well understood (like always pointing 
to the last successful build) and you wanted to show it in the Project page 
you can add it to the description of the project with some standard HTML. 
(for this to work you need to set the 'Raw HTML' as the Markup Formatter 
(on the Jenkins Configure Global Security page )

If the graph is specific to the build, then you can add it to a 
build-specific report using one of the available plugins like the Summary 
Report [1] or the HTML Publisher [2] plugins.

[1] https://wiki.jenkins-ci.org/display/JENKINS/Summary+Display+Plugin
[2] https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin

On Friday, February 27, 2015 at 4:52:09 AM UTC-5, Bruno wrote:
>
> Hi everyone,
>
> I'm trying to display a graph in the project page. I'm using the Disk 
> Usage Plugin to understand how to do so, but there are some points that are 
> not clear to me.
>
> Basically, I have a ProjectAction class with a getGraph() method, 
> returning a Graph object. In the "resources/..../ProjectAction" folder, 
> I've written a floatingBox.jelly where I've put :
>
> <img src="${it.getUrlName()}/graph/png?height=200&amp;width=550" 
> lazymap="${it.getUrlName()}/graph/map"/>
>
> like in the disk usage plugin.
> But it doesn't seem to work. It just displays a tiny empty image. 
>
> To figure out what's going on, I would like to know what are these paths 
> (/graph/png, /graph/map) ? What are they related to ? How does it work ?
>
> Thx in advance,
>
> Bruno
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/3d89f3b2-8204-42fa-97bd-dde442d61ae5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to