How to get surefire reports form Travis-CI build?

前端 未结 4 843
一个人的身影
一个人的身影 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 21:59

    Based on this bug report and this question, there is not a clean way to do this. There are, however, a couple unsupported methods of getting the reports listed in the bug report.

    Those may provide options for you to look into, but the Travis CI maintainers have not provided or supported an explicit way to handle this yet. Note that those bug reports/questions are well over a year old too.

    The prevailing suggestion in those threads seems to be to have Travis recommit the build artifacts back to the user's repository. This, however, requires authentication, which you probably shouldn't store in your .travis.yml file

提交回复
热议问题