Reputation: 194
I have generated custom XML reports through testing. is it possible to display these XML with Jenkins? If possible, then how to display it with Jenkins?
Upvotes: 7
Views: 54334
Reputation: 5129
Badge plugin
Usage in a pipeline:
def icon = "info.gif"
createSummary(
icon: icon,
text: """<h1>My Custom Summary</h1>"""
)
Upvotes: 0
Reputation:
There is this summary display plugin as well: https://wiki.jenkins.io/display/JENKINS/Summary+Display+Plugin
Upvotes: 1
Reputation: 31
Install HTMLPublisher plugin in Jenkins and after that perform the steps mentioned by Eyal
Upvotes: 2
Reputation: 2248
First you have to:
Then, configure Jenkins to show the custom report after your builds:
Run your build an see your custom html report on Jenkins.
Upvotes: 3
Reputation: 1748
If it is a homebrewed XML, I would suggest that you first convert it to HTML then use the HTML Publisher Plugin
https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin
Otherwise, mark it as a build artifact and allow users to download it from the Jenkins job.
Upvotes: 4