简体   繁体   中英

How to configure reports at Jenkins?

I am new at Jenkins. I want to configure my Jenkins to present some pretty UI reports after my tests are run. I installed the HTML publisher plugin. Now I have to fill the following information:

html directory to archive 
index pages 
report title

What information I need to give here? I gave the path of a directory "Reports" in "html directory to archive ". But now after the build is run, the HTML report link gives error: HTTP ERROR 404. Reason: not found What path do I need to give in archive field. If there is a file to be created, then how to create a file/folder at Jenkins

If you're using one of the popular test suites supported by the xUnit plugin ( https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin ), then you can feed your test output reports to the plugin and produce a fancy page that will display all kinds of information about your results.

You can also define your own style sheets using something like the WebUI plugin ( https://github.com/versionone/webui-plugin ) if you want to customize the way the test output page looks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM