前面几个小节我们系统学习了Jenkins构建github/gitlab/gitee自动化测试任务的方法,本小节我们讲解一下Jenkins自动化测试任务生成Allure报告的方法。
接下来我们以最常见的github自动化测试任务为例,讲解一下执行自动化测试任务生成Allure报告的方法。
安装allure报告插件
安装完插件,http://localhost:8081/restart 重启Jenkins后插件才能生效
本地下载Allure包
allure包下载:Central Repository: io/qameta/allure/allure-commandline