目录

pytestallurejenkins

目录

pytest+allure+jenkins

本地运行参考: jenkins运行如下: 安装插件:allure https://i-blog.csdnimg.cn/direct/22e4659feac24557964da047b2424a89.png 配置allure安装目录 https://i-blog.csdnimg.cn/direct/43b85ae74e914ef095b7a8cacd827cb9.png https://i-blog.csdnimg.cn/direct/e6dfbbf6285d4719982ba3efe730352a.png 配置pytest、allure 环境变量 https://i-blog.csdnimg.cn/direct/2feb8c8b8dfe45dd9749761567241f8a.png https://i-blog.csdnimg.cn/direct/dcb70987a50e4d1989622e50185931c8.png 配置流水线 https://i-blog.csdnimg.cn/direct/840cd366335c4440bbc644f02d37f3ce.png https://i-blog.csdnimg.cn/direct/67866cee711e4f95920310c060450258.png https://i-blog.csdnimg.cn/direct/f78d22c7e21447e2aa871180253c7e63.png 进行build,结果如下 ,点击allure report 查看结果 https://i-blog.csdnimg.cn/direct/851222e70f7a45758bb53a36df7085c6.png