Showing trend results for multiple projects on one view

39 views
Skip to first unread message

Ian Smith

unread,
Jan 25, 2017, 9:31:27 AM1/25/17
to Jenkins Users
Hi,

What I have been requested to produce is the means of having a single screen image that can be displayed on a large TV that shows the output of the test result analysis of two different jobs. Given that going to http://ci-server/job/jobname/test_results_analyzer/ shows that it is possible to get the data, I have found no way of achieving this.


  1. I have tried using the dashboard plugin. But that is no good as it combines the trend graphs into one graph for all projects.
  2. I have tried using the sectioned view plugin which, according to the page https://wiki.jenkins-ci.org/display/JENKINS/Sectioned+View+Plugin, shows a collection of trend graphs. Sadly that plugin just doesn't seem to work - adding a test result section just displays "No jobs" even though I can clearly see a test result trend with the job.
  3. I have tried looking to see if there is a RESTful API that I can call to download the test result analyser graph and use a local webserver to display the results as requested. There doesn't seem to be an API to do that.

So my question is "How can I obtain the test result analyser graph output / trend graph in such a way that it can be displayed on one page and clearly show the status of each job?". This is with Jenkins 2.42

Kind regards,
Ian Smith

Victor Martinez

unread,
Jan 26, 2017, 6:23:25 AM1/26/17
to Jenkins Users
Hi Ian, 

In my case I created my own HTML with those specific job trends images url:

YOUR_JENKINS_URL/job/YOUR_JOB/test/trend

I do also use a similar approach with the Plot plugin and the Build trends:
YOUR_JENKINS_URL/job/YOUR_JOB/plot/getPlot?index=0
YOUR_JENKINS_URL/job/YOUR_JOB/buildTimeGraph/png

You can resize those images by adding ?width=750&height=450 to the URL

Those urls can easily added as dynamic images to any Wiki system, such as Confluence or any other similar one and it works like a charm

I hope it helps
Reply all
Reply to author
Forward
0 new messages