It's more like a trend graph, so the graph is built every time a build is successful. And the image of the graph (like the .png file) isn't created on the disk, it's all done in the java code.
I'm going to read the stapler reference and I'll be back if it's still not clear. Thx Le vendredi 27 février 2015 16:24:46 UTC+1, Ioannis Moutsatsos a écrit : > > 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&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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/2bd50e0f-3900-4e75-9a50-24fdd96fb0ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
