Exit code produced by Lightning will set build status to passed or failed.
Lightning produces properties file which is understandable for Jenkins server. You can use this output together with Jenkins Build Name Setter Plugin to display tailored information in build name:
verifymode - number of executed/failed/ignored tests
reportmode - number of executed/failed transactions
Required Build Name Setter Plugin configuration:
JUnit XML report produced by Lightning provides insight into particular failures.
Required build configuration:
Due to JENKINS-9980, it is not currently possible for Jenkins to detect JUnit XML report generated by Lightning if you configured your build as a Maven Project. As a workaround, you may create Freestyle Project instead.