How to get surefire reports form Travis-CI build?

前端 未结 4 845
一个人的身影
一个人的身影 2021-01-12 21:40

The question says it all really. How can I download or view the surefire-reports generated during a build on Travis?

4条回答
  •  渐次进展
    2021-01-12 22:01

    I am using python html2text in travis after script phase.

    My travis script looks like:

    after_script:
    - python html2text.py target/site/surefire-report.html
    

    surefire-report.html is generated by surefire-report-plugin

    See example output here: https://travis-ci.org/rmpestano/dbunit-rules/builds/160170324#L3541

提交回复
热议问题