How to add more result matrix in our summary report How to add more result matrix in our summary report jenkins jenkins

How to add more result matrix in our summary report


Look for PerfPublisher plugin in Jenkins.

https://wiki.jenkins-ci.org/display/JENKINS/PerfPublisher+Plugin

This will by default give you the following things:1. Number of tests run2. Number of total tests.3. Number of tests passed and failed.

So you have all required values there :)The only change you would need to do is to create an XML file of particular format:

<report name="{REPORT_NAME}" categ="{CATEGORY_NAME}"><test name="{TEST_NAME1}" executed="{EXECUTED_STATUS}"> <result> <success passed="{RESULT_STATUS}" state="{RESULT_STATE}"/> </result></test> <test name="{TEST_NAME2}" executed="{EXECUTED_STATUS}"> <result> <success passed="{RESULT_STATUS}" state="{RESULT_STATE}"/> </result></test></report>

Hope this is useful.