How to display the Test Result trend in Jenkins?

21.2k views Asked by At

I use the option "Publish xUnit test result report" and it loads my *.xml.

I thought that would be enough to display the Test Result trend (the graphics) but it doesn't.

Am I missing something?

3

There are 3 answers

1
davidrv87 On BEST ANSWER

For the test trend results to appear at least 2 builds must run first

0
user10395028 On

under Post build actions, please select "Publish Junit test build report".

But make sure that you have used the correct path for "Workspace".

0
Sudheer Singh On

To get the resulting trend of Jenkins's job execution you just go into your project and click on the hyperlink trend which would be available just after build history. By doing this, you will get the result of the last 20 or 30 days which is again configurable. To get trend results of the last 30 days just go to the job configuration and set keep results as 30 days.