Jenkins not showing Test Result Trend graph for some projects

Charlie Seligman picture Charlie Seligman · Apr 21, 2016 · Viewed 8.1k times · Source

Im using Jenkins to run UI Testing suites for various xcode projects. Most of the projects shows the 'Test Result Trend' graph with no problem.

However, one of my projects fails to show the graph.

I have run the build a few times found but cannot find any obvious differences between those projects that display the graph and those that dont:

  1. Their configs are setup the same (except for git repo location)
  2. Their console outputs seems to display the same (no mention of errors around populating the graph)
  3. The test-reports/*.xml files all appear in the same valid format

Really at a loss on this one and so thought I would post to see if anyone else has resolved an issue like this before?

Updated more details:

  • Its a Freestyle project
  • Using the xcode plugin
  • Using Junit test result plugin set as 'test-reports/*.xml'
  • When I select Test Results Analyzer the full test results display (i.e. its only the Test Result Trend graph that is failing to appear at all). The graph isn't empty it is simply not shown at all. Also, 'Latest Test Results' link is also missing.

Answer

Manik Jadhav picture Manik Jadhav · Jan 4, 2017

Test Result Trends does not show up on Job page unless you have at least one successful (100% passed) test run. If you have all test runs as failure till date, it will not show.